g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O3 -o rtgen
ChainWalkContext.cpp:14:26: error: openssl/rand.h: No such file or directory
ChainWalkContext.cpp: In member function void CChainWalkContext::GenerateRandomIndex():
ChainWalkContext.cpp:348: error: RAND_bytes was not declared in this scope
HashAlgorithm.cpp:9:25: error: openssl/des.h: No such file or directory
HashAlgorithm.cpp:10:25: error: openssl/md5.h: No such file or directory
HashAlgorithm.cpp:11:25: error: openssl/sha.h: No such file or directory
HashAlgorithm.cpp:16: error: des_key_schedule has not been declared
HashAlgorithm.cpp: In function void setup_des_key(unsigned char*, int&):
HashAlgorithm.cpp:18: error: des_cblock was not declared in this scope
HashAlgorithm.cpp:18: error: expected `;' before key
HashAlgorithm.cpp:20: error: key was not declared in this scope
HashAlgorithm.cpp:30: error: des_set_key was not declared in this scope
HashAlgorithm.cpp: In function void HashLM(unsigned char*, int, unsigned char*):
HashAlgorithm.cpp:45: error: des_key_schedule was not declared in this scope
HashAlgorithm.cpp:45: error: expected `;' before ks
HashAlgorithm.cpp:47: error: ks was not declared in this scope
HashAlgorithm.cpp:48: error: des_cblock was not declared in this scope
HashAlgorithm.cpp:48: error: expected primary-expression before ) token
HashAlgorithm.cpp:48: error: expected primary-expression before ) token
HashAlgorithm.cpp:48: error: DES_ENCRYPT was not declared in this scope
HashAlgorithm.cpp:48: error: des_ecb_encrypt was not declared in this scope
HashAlgorithm.cpp: In function void HashMD5(unsigned char*, int, unsigned char*):
HashAlgorithm.cpp:53: error: MD5 was not declared in this scope
HashAlgorithm.cpp: In function void HashSHA1(unsigned char*, int, unsigned char*):
HashAlgorithm.cpp:58: error: SHA1 was not declared in this scope
make: *** [rtgen] Error 1