ed25519PublicKeyFromSeed method
Implementation
@override
Future<Uint8List> ed25519PublicKeyFromSeed(Uint8List seed) async {
final keyPair = await crypto.Ed25519().newKeyPairFromSeed(seed);
try {
final publicKey = await keyPair.extractPublicKey();
return Uint8List.fromList(publicKey.bytes);
} finally {
keyPair.destroy();
}
}