Class: SeedCipherPwHash

hcSeedBundle.SeedCipherPwHash(passphrase, limitNameopt)

Straight up pwhashed passphrase type SeedCipher

Constructor

new SeedCipherPwHash(passphrase, limitNameopt)

Build this with
Parameters:
Name Type Attributes Description
passphrase PrivSecretBuf parseSecret(Uint8Array)
limitName string <optional>
optional limitName (['interactive', 'moderate' *default*, 'sensitive'])
Source:

Methods

encryptSeed(secretSeed) → {object}

Encrypte a secretSeed SeedCipher with this instance.
Parameters:
Name Type Description
secretSeed PrivSecretBuf parseSecret(Uint8Array)
Source:
Returns:
Type
object

zero()

Clear secret data
Source: