Bcrypt Password Hashing
Create a password hash using Bcrypt
string password | the password |
RandomNumberGenerator rng | a random number generator |
ushort work_factor | how much work to do to slow down guessing attacks
@see http://www.usenix.org/events/usenix99/provos/provos_html/ |
Check a previously created password hash
string password | the password to check against |
string hash | the stored hash to check against |