fromEd25519PublicKey method

  1. @override
BuBytes fromEd25519PublicKey(
  1. List<int> ed25519Pk
)
override

Converts a 32-byte ed25519 public key (compressed Edwards y) to its 32-byte Montgomery u-coordinate (1+y)/(1-y). Throws on invalid points.

Implementation

@override
BuBytes fromEd25519PublicKey(List<int> ed25519Pk) =>
    _api.fromEd25519PublicKey(ed25519Pk).unwrapOrThrowCryptoError();