Envelope

Encapsulates ciphertext.

Class Methods

Instance Methods

Class Properties

There are no class properties.

Instance Properties

nametypedescription

ciphertext

Uint8Array

The ciphertext output from encrypt, the counterpart to the original plaintext.

nonce

Uint8Array

nonce used to encrypt the plaintext

Description

Envelope contains the products of encryption: the ciphertext and nonce. Produced by encrypt and consumed by decrypt.