SeedCipher locked by three security question answers.

Hierarchy (view full)

Constructors

  • Build this with

    Parameters

    • questions: string[]

      the list of security questions.

    • answers: PrivSecretBuf[]

      the list of answers as PrivSecretBuf.

    • Optional limitName: string

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

    Returns SeedCipherSecurityQuestions

    Throws

    Will throw an error if the questions or answers are not arrays of length 3.

Properties

answerBlob: PrivSecretBuf
limitName?: string
questionList: string[]

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.