wok view perl-digest-hmac/description.txt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents
children
line source
1 HMAC is used for message integrity checks between two parties
2 that share a secret key, and works in combination with some
3 other Digest algorithm, usually MD5 or SHA-1.
4 The HMAC mechanism is described in RFC 2104.
6 HMAC follow the common Digest:: interface, but the constructor
7 takes the secret key and the name of some other simple Digest::
8 as argument.
10 The hmac() and hmac_hex() functions and the Digest::HMAC->new()
11 constructor takes an optional $blocksize argument as well.
12 The HMAC algorithm assumes the digester to hash by iterating a
13 basic compression function on blocks of data and the $blocksize
14 should match the byte-length of such blocks.
16 The default $blocksize is 64 which is suitable for the MD5 and
17 SHA-1 digest functions.
18 For stronger algorithms the blocksize probably needs to be
19 increased.