Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "account/wallet"

Index

Classes

Interfaces

Type aliases

Functions

Type aliases

EncryptOptions

EncryptOptions: object

Type declaration

  • Optional c?: undefined | number
  • Optional cipher?: undefined | string
  • Optional dklen?: undefined | number
  • Optional iv?: undefined | string
  • Optional kdf?: undefined | string
  • Optional n?: undefined | number
  • Optional p?: undefined | number
  • Optional r?: undefined | number
  • Optional salt?: undefined | string
  • Optional uuid?: undefined | string

Kdfparams

Kdfparams: object

Type declaration

  • Optional c?: undefined | number
  • dklen: number
  • Optional n?: undefined | number
  • Optional p?: undefined | number
  • Optional prf?: undefined | string
  • Optional r?: undefined | number
  • salt: string

Functions

decrypt

  • decrypt(privateKey: PrivateKey, password: string): object

encrypt

runCipherBuffer

  • runCipherBuffer(cipher: Cipher | Decipher, data: crypto.Binary): Buffer
  • Parameters

    • cipher: Cipher | Decipher
    • data: crypto.Binary

    Returns Buffer

Generated using TypeDoc