i'm using a string with salt data to Hash a password using BCrypt.Net library.
code:
string src = Salt + UserName + Key + Password
var hash = Bc.HashPassword(src, 12);
When i'm trying to verify the hashed data with a wrong string data (different password for example) , the value BCrypt.Verify(wrongStr,hash) returns is true.
Any Ideas? is there any String's Length Limits?
bcrypt returns a 60 char string make sure that your filed can handle that
and your verification is wrong you need to utilize boolean!