I have client connecting to server over the internet (WCF
).
To calculate the hash to save in the DB I currently use:
var hash = BCrypt.HashPassword(password, 13);
To verify it I do:
var isApproved = BCrypt.Verify(passwordFromUser, hashFromDatabase);
Generation of the hash must be calculation-intensive, true. But the verification too must be intensive ?
There is no secure but quicker way to verify the user (it's being done on the server) ?