GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DIGEST::HMAC_SHA1 (3)

.ds Aq ’

NAME

Digest::HMAC_SHA1 - Keyed-Hashing for Message Authentication

CONTENTS

SYNOPSIS



 # 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;



DESCRIPTION

This module provide HMAC-SHA-1 hashing.

SEE ALSO

Digest::HMAC, Digest::SHA, Digest::HMAC_MD5

AUTHOR

Gisle Aas <gisle@aas.no>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DIGEST::HMAC_SHA1 (3) 2011-07-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.