KeyRecover

Undocumented in source.

Constructors

this
this(RecoverGenerator generator)
Undocumented in source.

Members

Functions

checkHash
Buffer checkHash(const(ubyte[]) value, const(ubyte[]) salt)
Undocumented in source. Be warned that the author may not have intended to support it.
createKey
void createKey(const(string[]) questions, const(char[][]) answers, uint confidence)
Undocumented in source. Be warned that the author may not have intended to support it.
createKey
void createKey(Buffer[] A, uint confidence)
Undocumented in source. Be warned that the author may not have intended to support it.
findSecret
bool findSecret(ubyte[] R, const(string[]) questions, const(char[][]) answers)
Undocumented in source. Be warned that the author may not have intended to support it.
findSecret
bool findSecret(ubyte[] R, Buffer[] A)
Undocumented in source. Be warned that the author may not have intended to support it.
quiz
Buffer[] quiz(const(string[]) questions, const(char[][]) answers)

Generates the quiz hash of the from a list of questions and answers

quizSeed
void quizSeed(const(ubyte[]) R, Buffer[] A, uint confidence)

Generates the quiz seed values from the privat key R and the quiz list

toDoc
const(Document) toDoc()
Undocumented in source. Be warned that the author may not have intended to support it.
toHiBON
inout(HiBONT) toHiBON()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MAX_QUESTION
enum MAX_QUESTION;
Undocumented in source.
MAX_SEEDS
enum MAX_SEEDS;
Undocumented in source.

Static functions

iterateSeeds
void iterateSeeds(uint M, uint N, bool delegate(scope const(uint[]) indices) @(safe) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
numberOfSeeds
uint numberOfSeeds(uint M, uint N)
Undocumented in source.

Variables

generator
RecoverGenerator generator;
Undocumented in source.

Meta