Expand description
hkdf-sha1 derivation parameterization: HKDF over SHA-1, for
compatibility with existing protocols that fix it. The construction is
not affected by SHA-1’s collision attacks (HKDF relies on HMAC’s PRF
property), but prefer hkdf_sha2 where the
protocol is yours to choose.
The Ikm resource and its import stay
hkdf’s, so one imported secret can parameterize
derivations over either hash family.
Functions§
- prepare
- Parameterize an HKDF-SHA-1 derivation over imported keying material.
See
hkdf_sha2::preparefor thesaltandinfocontracts. - prepare_
from - Chain an HKDF-SHA-1 derivation from another derivation’s output. See
hkdf_sha2::prepare_from.