[ANN] HOTP v1.0.0 released

R

rubytalk

HOTP v1.0.0

Implements RFC 4226 using Ruby. (http://www.ietf.org/rfc/rfc4226.txt)
HOTP is an HMAC-SHA1 based algorithm

The latest version of hotp can be found at

* http://rubyforge.org/hotp/

The HOTP object can be used to calculate the HOTP value for any secret
and count. The number of digits in the HOTP value is determined by an
optional parameter. The default HOTP value is 6 digits long.

require "hotp"
secret = "12345678901234567890"
count = 0
puts(HOTP::hotp(secret,count)) # => "755224"

Stephen Becker IV
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top