generatePrivateKey static method
Implementation
static String generatePrivateKey() {
Random rng = Random.secure();
List<int> key = List<int>.generate(32, (i) => rng.nextInt(256));
Uint8List keyBytes = Uint8List.fromList(key);
return bytesToHex(keyBytes, include0x: true);
}