HOTP v1.0.0 released

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

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 B. IV