library bcrypt.h not working

  • Thread starter Thread starter kolijk
  • Start date Start date
K

kolijk

Guest
Hi, I used library <bcrypt.h> and compiler say errors:

unresolved external symbol bcrypt_gensalt referenced in function main


Code:


#include <iostream>
#include <bcrypt.h>

using namespace std;

int main() {



const char* passwd = "Secret_Password";

char results[BCRYPT_HASHSIZE];

bcrypt_gensalt(10, results);


system("pause");
return 0;
}

Continue reading...
 
Back
Top