Function bls_on_arkworks::os2ip

source ·
pub fn os2ip(octets: &Octets) -> SecretKey
Expand description

(spec link) Converts an octet string to a nonnegative integer. This function loads bytes as a big-endian number and returns a valid SecretKey between 0 and p-1.