toBytesWithReduceScalar method
Generates pseudo-random bytes and reduces them using 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
List<int> toBytesWithReduceScalar(List<int> label, int outLen) {
return Ed25519Utils.scalarReduceConst(toBytes(label, outLen));
}