generateRandomKey function
Implementation
String generateRandomKey() {
final random = Random.secure();
final keyBytes = List<int>.generate(32, (_) => random.nextInt(256));
return base64Url.encode(keyBytes);
}
String generateRandomKey() {
final random = Random.secure();
final keyBytes = List<int>.generate(32, (_) => random.nextInt(256));
return base64Url.encode(keyBytes);
}