Options
All
  • Public
  • Public/Protected
  • All
Menu

A record containing a user's encrypted secret key and associated data. Requires a corresponding encryption key with which to decrypt the secret key in order to function.

This value is passed to the Nash Central Account System for new accounts. The corresponding encryption key is never passed, and needs to be supplied by the client.

Two top-level functions deal with AEADs: encryptSecretKey.ts and decryptSecretKey.ts.

Additionally, initialization of the Nash Protocol for a user requires the user's AEAD.

Refer to this manual for more information on the nonce and tag.

Hierarchy

  • AEAD

Index

Properties

Readonly encryptedSecretKey

encryptedSecretKey: Buffer

The encrypted version of a user's master key.

Readonly nonce

nonce: Buffer

Associated AEAD data.

Readonly tag

tag: Buffer

Associated AEAD data.

Legend

  • Property

Generated using TypeDoc