Function hash_plaintext

Source
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).