wok annotate perl-digest-hmac/description.txt @ rev 25242
updated python-sqlalchemy (1.3.15 -> 1.4.29)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 06:40:01 2022 +0100 (2022-07-14) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24200 | 1 HMAC is used for message integrity checks between two parties |
Hans-G?nter@24200 | 2 that share a secret key, and works in combination with some |
Hans-G?nter@24200 | 3 other Digest algorithm, usually MD5 or SHA-1. |
Hans-G?nter@24200 | 4 The HMAC mechanism is described in RFC 2104. |
Hans-G?nter@24200 | 5 |
Hans-G?nter@24200 | 6 HMAC follow the common Digest:: interface, but the constructor |
Hans-G?nter@24200 | 7 takes the secret key and the name of some other simple Digest:: |
Hans-G?nter@24200 | 8 as argument. |
Hans-G?nter@24200 | 9 |
Hans-G?nter@24200 | 10 The hmac() and hmac_hex() functions and the Digest::HMAC->new() |
Hans-G?nter@24200 | 11 constructor takes an optional $blocksize argument as well. |
Hans-G?nter@24200 | 12 The HMAC algorithm assumes the digester to hash by iterating a |
Hans-G?nter@24200 | 13 basic compression function on blocks of data and the $blocksize |
Hans-G?nter@24200 | 14 should match the byte-length of such blocks. |
Hans-G?nter@24200 | 15 |
Hans-G?nter@24200 | 16 The default $blocksize is 64 which is suitable for the MD5 and |
Hans-G?nter@24200 | 17 SHA-1 digest functions. |
Hans-G?nter@24200 | 18 For stronger algorithms the blocksize probably needs to be |
Hans-G?nter@24200 | 19 increased. |