pub fn hash_plaintext(
hasher: &dyn HashAlgorithm,
msg: &[u8],
blinder: &Blinder,
) -> TypedHash
Expand description
Hashes plaintext with a blinder.
By convention, plaintext is hashed as H(msg | blinder)
.
pub fn hash_plaintext(
hasher: &dyn HashAlgorithm,
msg: &[u8],
blinder: &Blinder,
) -> TypedHash
Hashes plaintext with a blinder.
By convention, plaintext is hashed as H(msg | blinder)
.