SecureWallet.recover

Recover the key-pair from the quiz or the device-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")

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