Ed25519MoneroPublicKey.fromPoint constructor

Ed25519MoneroPublicKey.fromPoint(
  1. EDPoint point
)

Factory method for creating an Ed25519MoneroPublicKey from an EDPoint.

Implementation

factory Ed25519MoneroPublicKey.fromPoint(EDPoint point) {
  return Ed25519MoneroPublicKey._(
      EDDSAPublicKey.fromPoint(Curves.generatorED25519, point));
}