EOSPrivateKey.fromSeed constructor
EOSPrivateKey.fromSeed(
- String seed
Generate EOS private key from seed. Please note: This is not random! For the given seed, the generated key would always be the same
Implementation
factory EOSPrivateKey.fromSeed(String seed) {
Digest s = sha256.convert(utf8.encode(seed));
return EOSPrivateKey.fromBuffer(Uint8List.fromList(s.bytes));
}