Why not adopt me?
NAME
Digest::HMAC_MD6 - MD6 Keyed-Hashing for Message Authentication
VERSION
This document describes Digest::HMAC_MD6 version 0.01
SYNOPSIS
use Digest::HMAC_MD6 qw(hmac_md6 hmac_md6_hex);
$digest = hmac_md6($data, $key);
print hmac_md6_hex($data, $key);
# OO style
use Digest::HMAC_MD6;
$hmac = Digest::HMAC_MD6->new($key);
$hmac->add($data);
$hmac->addfile(*FILE);
$digest = $hmac->digest;
$digest = $hmac->hexdigest;
$digest = $hmac->b64digest;
DESCRIPTION
This module provides HMAC-MD6 hashing.
INTERFACE
new
Create a new Digest::HMAC_MD6
. The arguments are
$key
-
The key to hash with.
$block_size
-
The block size to use.
$hash_bits
-
The number of bits of hash to compute.
The $block_size
and $hash_bits
arguments may be omitted in which case they default to 64 and 256 respectively.
hmac_md6
Compute a MD6 HMAC hash and return its binary representation. The arguments are
$data
-
The data to hash.
$key
-
The key to hash with.
$block_size
-
The block size to use.
$hash_bits
-
The number of bits of hash to compute.
The $block_size
and $hash_bits
arguments may be omitted in which case they default to 64 and 256 respectively.
hmac_md6_hex
Like "hmac_md6" but return the hex representation of the key.
hmac_md6_base64
Like "hmac_md6" but return the base 64 representation of the key.
SEE ALSO
DEPENDENCIES
INCOMPATIBILITIES
None reported.
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-digest-hmac_md6@rt.cpan.org
, or through the web interface at http://rt.cpan.org.
AUTHOR
Andy Armstrong <andy@hexten.net>
LICENCE AND COPYRIGHT
Copyright (c) 2009, Andy Armstrong <andy@hexten.net>
.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.