Authen::HOTP - An HMAC-Based One-Time Password Algorithm
use Authen::HOTP qw(hotp); my $secret = "abcdefghijklmnopqrst"; # 20-byte my $counter = 0; my $digits = 6; my $pass = hotp($secret, $counter, $digits);
This library implements the HOTP algorithm as described in RFC 4226.
Iain Wade, <firstname.lastname@example.org>
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.