Hierarchy (view full)

Constructors

Properties

epoch?: number
publicKey: Uint8Array

Methods

  • Parameters

    • nonce: Uint8Array
    • ciphertext: Uint8Array

    Returns Uint8Array

  • Parameters

    • plaintext: Uint8Array
    • Optional nonce: Uint8Array

    Returns {
        ciphertext: Uint8Array;
        nonce: Uint8Array;
    }

    • ciphertext: Uint8Array
    • nonce: Uint8Array
  • Parameters

    • Optional ok: Uint8Array
    • Optional innerFail: string
    • Optional outerFail: string

    Returns Uint8Array