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

encryptedSecretKey

encryptedSecretKey: Buffer

The encrypted version of a user's master key.

nonce

nonce: Buffer

Associated AEAD data.

tag

tag: Buffer

Associated AEAD data.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc