PDA

View Full Version : [BCrypt] How To Crypt Users Password?



xyz247
29th October 2012, 20:20
I am using BCrypt on my website's registration form. How would I go about encrypting & salting the users password in my desktop client, so that they both match? I have yet to find a BCrypt library for C++ implementation.

Robbie
29th October 2012, 20:45
I've not used BCrypt before but from what I can see from the sorceforge website, you don't use libraries, it's a stand-alone executable.

If I'm correct, then you will be able to initiate the program using QProcess.

wysota
29th October 2012, 21:41
On the bottom of the wiki page here http://en.wikipedia.org/wiki/Bcrypt there is a list of implementations, including one in C. Linux crypt(3) implementation also reports to suggest this scheme.