[][src]Module secp256kfun::hash

Generally useful utilities related to hashing.

In general, things in here are defined against the Digest trait from the RustCrypto project.

Traits

AddTag

Trait for things that can domain separate themselves.

HashAdd

Extension trait for digest::Digest to make adding things to the hash convenient.

HashInto

Anything that can be hashed.

Tagged

Extension trait to "tag" a hash as described in BIP-340.