Derives the X25519 public key from an X25519 private key.
32-byte X25519 private key.
32-byte X25519 public key.
const pub = deriveX25519PublicKey(priv); Copy
const pub = deriveX25519PublicKey(priv);
Derives the X25519 public key from an X25519 private key.