SeedCipher locked by a password hash.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Build this with

    Parameters

    • passphrase: PrivSecretBuf

      the passphrase as a PrivSecretBuf.

    • Optional limitName: string

      optional limit name (['interactive', 'moderate' default, 'sensitive']).

    Returns SeedCipherPwHash

    Throws

    Will throw an error if the passphrase is not an instance of PrivSecretBuf.

Properties

limitName?: string
passphrase: PrivSecretBuf

Methods

  • Encrypt a secretSeed SeedCipher with this instance.

    Parameters

    Returns object

    the encrypted seed as an object.

    Throws

    Will throw an error if the secret seed is not an instance of PrivSecretBuf.