Go to the documentation of this file.
21 #ifndef SH_MHASHKEYGEN_H
22 #define SH_MHASHKEYGEN_H
31 MHashKeyGen (keygenid kgalgo, hashid halgo,
unsigned int keysize) ;
38 void setSalt (std::vector<unsigned char> salt) ;
40 std::vector<unsigned char>
createKey (std::string password) ;
51 #endif // ndef SH_MHASHKEYGEN_H
void setSalt(std::vector< unsigned char > salt)
Definition: MHashKeyGen.cc:98
void setHashAlgorithms(std::vector< hashid > hashalgos)
Definition: MHashKeyGen.cc:90
void setHashAlgorithm(hashid hashalgo)
Definition: MHashKeyGen.cc:85
KEYGEN AlgorithmData
Definition: MHashKeyGen.h:45
void setKeySize(unsigned int KeySize)
Definition: MHashKeyGen.cc:75
MHashKeyGen(void)
Definition: MHashKeyGen.cc:29
~MHashKeyGen(void)
Definition: MHashKeyGen.cc:46
void * s_malloc(size_t size)
Definition: MHashKeyGen.cc:111
Definition: MHashKeyGen.h:28
bool ready
Definition: MHashKeyGen.h:43
std::vector< unsigned char > createKey(std::string password)
Definition: MHashKeyGen.cc:53
unsigned int KeySize
Definition: MHashKeyGen.h:46
void setKeyGenAlgorithm(keygenid algo)
Definition: MHashKeyGen.cc:80
keygenid Algorithm
Definition: MHashKeyGen.h:44