Digest::HMAC_SHA1(3pm)

Digest::HMAC_SHA13pm

Keyed-hashing for message authentication

Usage

 # Functional style
 use Digest::HMAC_SHA1 qw(hmac_sha1 hmac_sha1_hex);
 $digest = hmac_sha1($data, $key);
 print hmac_sha1_hex($data, $key);
 # OO style
 use Digest::HMAC_SHA1;
 $hmac = Digest::HMAC_SHA1->new($key);
 $hmac->add($data);
 $hmac->addfile(*FILE);
 $digest = $hmac->digest;
 $digest = $hmac->hexdigest;
 $digest = $hmac->b64digest;

Overview

This module provide HMAC-SHA-1 hashing.

Maintainer

Andrew Rodland <[email protected]>

Original author

Gisle Aas <[email protected]>

Releases

14 releases since Debian 2.2 (Potato); the text changed 11 times.

  1. 2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0
  6. 6.0
  7. 7–9
  8. 10
  9. 11
  10. 12
  11. 13
  12. Arch

From perl-digest-hmac 1.05-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.