Authen::HOTP - An HMAC-Based One-Time Password Algorithm


Authen-HOTP documentation  | view source Contained in the Authen-HOTP distribution.

Index


NAME

Top

Authen::HOTP - An HMAC-Based One-Time Password Algorithm

SYNOPSIS

Top

  use Authen::HOTP qw(hotp);

  my $secret = "abcdefghijklmnopqrst"; # 20-byte
  my $counter = 0;
  my $digits = 6;

  my $pass = hotp($secret, $counter, $digits);

DESCRIPTION

Top

This library implements the HOTP algorithm as described in RFC 4226.

http://www.rfc-editor.org/rfc/rfc4226.txt

EXPORT

SEE ALSO

Top

AUTHOR

Top

Iain Wade, <iwade@optusnet.com.au>

COPYRIGHT AND LICENSE

Top


Authen-HOTP documentation  | view source Contained in the Authen-HOTP distribution.