Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

BCrypt library seems not to work for different computer

$
0
0

Let's say I have exactly the same project file.

I generate a hash password, using

string hashedpwd=BCrypt.Net.Bcrypt.HashPassword(password);

//store hashedpwd in DB

bool BVerify=BCrypt.Net.BCrypt.Verify(password, dbPwd);

BVerify returns true 

Then, I go to another computer, import that ms sql database into another computer, and run the project in VS 2012,

BVerify returns false,

Would like to know why is this happening?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>