wok annotate perl-digest-hmac/description.txt @ rev 24927

updated mpg123 and mpg123-dev (1.25.13 -> 1.29.3)
author Hans-G?nter Theisgen
date Wed Apr 13 14:23:00 2022 +0100 (2022-04-13)
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.