@me2em/crypto
    Preparing search index...

    Function deriveX25519PublicKey

    • Derives the X25519 public key from an X25519 private key.

      Parameters

      • xPriv: Uint8Array

        32-byte X25519 private key.

      Returns Uint8Array

      32-byte X25519 public key.

      const pub = deriveX25519PublicKey(priv);