Trait secp256k1::ThirtyTwoByteHash
source · pub trait ThirtyTwoByteHash {
// Required method
fn into_32(self) -> [u8; 32];
}
Expand description
Trait describing something that promises to be a 32-byte random number; in particular,
it has negligible probability of being zero or overflowing the group order. Such objects
may be converted to Message
s without any error paths.
Required Methods§
Implementations on Foreign Types§
source§impl ThirtyTwoByteHash for Hash
Available on crate feature bitcoin-hashes
only.
impl ThirtyTwoByteHash for Hash
Available on crate feature
bitcoin-hashes
only.source§impl<T: Tag> ThirtyTwoByteHash for Hash<T>
Available on crate feature bitcoin-hashes
only.
impl<T: Tag> ThirtyTwoByteHash for Hash<T>
Available on crate feature
bitcoin-hashes
only.source§impl ThirtyTwoByteHash for Hash
Available on crate feature bitcoin-hashes
only.
impl ThirtyTwoByteHash for Hash
Available on crate feature
bitcoin-hashes
only.