toBigint method
Converts pseudo-random bytes into a BigInt with scalar reduction.
Parameters:
label: A list of integers representing the label for the pseudo-random data.outLen: The length of the pseudo-random data to generate, specified as an integer.
Implementation
BigInt toBigint(List<int> label, int outLen) {
return BigintUtils.fromBytes(
toBytesWithReduceScalar(label, outLen),
byteOrder: Endian.little,
);
}