• boxSeal boxes ("seals") the provided additional data and plaintext via Deoxys-II-256-128 using a symmetric key derived from the provided X25519 public and private keys.

    Parameters

    • nonce: Uint8Array
    • plainText: Uint8Array
    • associateData: Uint8Array
    • publicKey: Uint8Array
    • privateKey: Uint8Array

    Returns Uint8Array