• deriveSymmetricKey derives a MRAE AEAD symmetric key suitable for use with the asymmetric box primitives from the provided X25519 public and private keys.

    Parameters

    • publicKey: Uint8Array
    • privateKey: Uint8Array

    Returns Uint8Array