pub fn bits2ints(num: &[u8], qlen: usize) -> Result<BigNum, ErrorStack>Expand description
Converts a sequence of blen bits to a non-negative integer that is less than 2^qlen as specified in Section 2.3.2 of [RFC6979]
§Arguments
num: an octet slice representing the number to be convertedqlen: the length of the outputBigNum
§Returns:
- a
BigNumrepresenting the conversion.