Skip to content

HMAC-Based One-Time Password Algorithm, as described in RFC 4226

License

Notifications You must be signed in to change notification settings

xandkar/erlang-hotp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

HOTP

Erlang adaptation of HMAC-Based One-Time Password Algorithm, as described in RFC 4226.

Usage

Simplest example:

1> Secret = hotp_secret:new().
<<104,212,164,165,146,193,202,163,7,141,26,71,82,17,133,
  95,108,68,35,130>>
2>
2> hotp:cons(Secret, 0).
130575
3>

See tests for more.

About

HMAC-Based One-Time Password Algorithm, as described in RFC 4226

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published