Polkadot Apps
    Preparing search index...
    interface box {
        keyPair: nacl.boxProps.keyPair;
        nonceLength: number;
        open: open;
        overheadLength: number;
        publicKeyLength: number;
        secretKeyLength: number;
        sharedKeyLength: number;
        after(msg: Uint8Array, nonce: Uint8Array, key: Uint8Array): Uint8Array;
        before(publicKey: Uint8Array, secretKey: Uint8Array): Uint8Array;
        (
            msg: Uint8Array,
            nonce: Uint8Array,
            publicKey: Uint8Array,
            secretKey: Uint8Array,
        ): Uint8Array;
    }
    • Parameters

      • msg: Uint8Array
      • nonce: Uint8Array
      • publicKey: Uint8Array
      • secretKey: Uint8Array

      Returns Uint8Array

    Index

    Properties

    nonceLength: number
    open: open
    overheadLength: number
    publicKeyLength: number
    secretKeyLength: number
    sharedKeyLength: number

    Methods

    • Parameters

      • msg: Uint8Array
      • nonce: Uint8Array
      • key: Uint8Array

      Returns Uint8Array

    • Parameters

      • publicKey: Uint8Array
      • secretKey: Uint8Array

      Returns Uint8Array