Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EncryptedPayload describes an encrypted payload with salt and ciphertext properties.

since

0.3.0

Hierarchy

  • EncryptedPayload

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

ciphertext

ciphertext: string

The payload ciphertext. The first X bytes represent the IV.

var

{string}

salt

salt: string

The payload salt.

var

{string}

Methods

Static fromJSON

  • Parse a JSON representation of an encrypted payload into a EncryptedPayload instance.

    The provided JSON must contain fields 'ciphertext' and 'salt'.

    Parameters

    • json: string

    Returns EncryptedPayload

Generated using TypeDoc