Iain Wade > Authen-HOTP > Authen::HOTP

Download:
Authen-HOTP-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

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

SYNOPSIS ^

  use Authen::HOTP qw(hotp);

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

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

DESCRIPTION ^

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

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

EXPORT

SEE ALSO ^

AUTHOR ^

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

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 by root

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: