fromSecretSeedList method
- Uint8List seed
Creates a new KeyPair object from a raw 32 byte secret seed
.
Implementation
static KeyPair fromSecretSeedList(Uint8List seed) {
_mPrivateKeySeed = seed;
ed25519.KeyPair kp = ed25519.Signature.keyPair_fromSeed(seed);
return new KeyPair(kp.publicKey, kp.secretKey);
}