hash_hmac('sha1','Data to be hashed', 'some_secret_key');
I've looked into Digest::HMAC, but there's no way to specify sha1.
There's also Digest::SHA1, but I don't know how to mix the two
together.
Please help.
See: Digest::HMAC_SHA1
http://search.cpan.org/~gaas/Digest-HMAC-1.01/lib/Digest/HMAC_SHA1.pm
--
Charles DeRykus
use Digest::SHA1 qw(sha1);
use Digest::HMAC qw(hmac);
hmac('some_data', 'some_key', \&sha1, 64);
So Digest::HMAC_SHA1 simply show how to interconnect the two, just
what I needed.