bigint_to_be_bytes_array

Function bigint_to_be_bytes_array 

Source
pub fn bigint_to_be_bytes_array<const BYTES_SIZE: usize>(
    bigint: &BigUint,
) -> Result<[u8; BYTES_SIZE], HasherError>
Expand description

Converts the given ark_ff::BigUint into a big-endian byte array.