SecureWallet.recover

Recover the key-pair from the quiz or the device-pincode

  1. bool recover(const(string[]) questions, const(char[][]) answers, const(char[]) pincode)
    struct SecureWallet(Net : SecureNet)
    bool
    recover
    (
    const(string[]) questions
    ,
    const(char[][]) answers
    ,
    const(char[]) pincode
    )
    in (questions.length is answers.length, "Amount of questions should be same as answers")
  2. bool recover(Buffer[] A, const(char[]) pincode)

Parameters

questions const(string[])

List of question

answers const(char[][])

List of answers

pincode const(char[])

Devices pin code

Return Value

Type: bool

True if the key-pair has been recovered for the quiz or the pincode

Meta