Function nois::randomness_from_str
source · pub fn randomness_from_str(
input: impl AsRef<str>
) -> Result<[u8; 32], RandomnessFromStrErr>Expand description
Takes a hex string and decodes it. Input must be 64 hex characters long (32 bytes).