• Convert Ed25519 public key to X25519 public key.

    Throws if given an invalid public key.

    Parameters

    • publicKey: Uint8Array

    Returns Uint8Array