etotp
is a library to generate time based one time passwords (TOTP) based on RFC 6238.
This library requires atleast OTP 23.
{deps, [
{etotp, "<latest release>"}
]}.
If not using hex.pm
Add etotp
as a dependency in rebar.config
{etotp, {git, "https://github.com/drvspw/etotp.git", {tag, "<latest release>"}}}