generateRandomness function
Generates a cryptographically secure 128-bit randomness value, returned as a decimal string suitable for use as the JWT randomness in a zkLogin flow.
Implementation
String generateRandomness() {
final bytes = randomBytes(16);
return toBigIntBE(bytes).toString();
}