Ed25519PublicKey constructor
Ed25519PublicKey({
- required Uint8List bytes,
Implementation
Ed25519PublicKey({required Uint8List bytes}) {
if (bytes.length != KEY_LEN_BYTES) {
throw AlgorandException(message: 'ed25519 public key wrong length');
}
_bytes = Uint8List.fromList(bytes);
}