SimpleCrypto.net
SimpleCrypto.net copied to clipboard
.Compare() returns true for empty string
First off, great library. Thanks so much for putting this together and for all the efforts I know must've gone into this.
Noticed something interesting today. If running a comparison of a previously hashed password against a string.empty
the operation returns true
.
Ex:
cryptoService.Compare(potentialUser.Password, string.Empty) == true;