Ed25519MoneroPublicKey.fromBytes constructor

Ed25519MoneroPublicKey.fromBytes(
  1. List<int> keyBytes
)

Factory method for creating an Ed25519MoneroPublicKey from a byte array.

Implementation

factory Ed25519MoneroPublicKey.fromBytes(List<int> keyBytes) {
  return Ed25519MoneroPublicKey._(
      EDDSAPublicKey(Curves.generatorED25519, keyBytes));
}