Trait secp256k1_zkp::ThirtyTwoByteHash[][src]

pub trait ThirtyTwoByteHash {
    pub fn into_32(self) -> [u8; 32];
}

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 Messages without any error paths.

Required methods

pub fn into_32(self) -> [u8; 32][src]

Converts the object into a 32-byte array

Loading content...

Implementors

Loading content...