Query: digest::hmac
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Digest::HMAC(3) User Contributed Perl Documentation Digest::HMAC(3)NAMEDigest::HMAC - Keyed-Hashing for Message AuthenticationSYNOPSIS# Functional style use Digest::HMAC qw(hmac hmac_hex); $digest = hmac($data, $key, &myhash); print hmac_hex($data, $key, &myhash); # OO style use Digest::HMAC; $hmac = Digest::HMAC->new($key, "Digest::MyHash"); $hmac->add($data); $hmac->addfile(*FILE); $digest = $hmac->digest; $digest = $hmac->hexdigest; $digest = $hmac->b64digest;DESCRIPTIONHMAC is used for message integrity checks between two parties that share a secret key, and works in combination with some other Digest algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in RFC 2104. HMAC follow the common "Digest::" interface, but the constructor takes the secret key and the name of some other simple "Digest::" as argument.SEE ALSODigest::HMAC_MD5, Digest::HMAC_SHA1 RFC 2104AUTHORSGraham Barr <gbarr@ti.com>, Gisle Aas <gisle@aas.no> perl v5.12.1 2010-01-10 Digest::HMAC(3)
Related Man Pages |
---|
digest::sha1(3) - redhat |
isc-hmac-fixup(8) - centos |
digest::hmac(3) - mojave |
digest::hmac5.18(3) - mojave |
digest::hmac(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
How to install bsdpan-* on freeBSD 7.1 |
FTP Getting a Folder |