[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

Similar Threads


Members online

Forum statistics

Threads
474,241
Messages
2,571,219
Members
47,850
Latest member
StewartTha

Latest Threads

Top