Skip to content

shlokspeare/erlotp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erlotp

Build Status

Generate one time passwords, HOTPs and TOTPs for your application. Should work with the Google Authenticator.

Erlang API

Types

-type token() :: integer().
-type interval() :: integer().
-type secret() :: binary().

Get the one time token based on interval number

token() = erlotp:get_htop(secret(), interval())

Get the time sensitive one time token

token() = erlotp:get_totp(secret())

About

Erlang One Time Token Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 100.0%