public string HashPassword(string password)
        {
#if DEBUG
            var stopWatch = Stopwatch.StartNew();
#endif

            var encrypted = Pbkdf2HashPassword.CreateHash(password);

#if DEBUG
            stopWatch.Stop();
            Debug.WriteLine("BCrypt Hash Password Time: {0} ms", stopWatch.ElapsedMilliseconds);
#endif
            return(encrypted);
        }
 public bool ValidatePassword(string password, string hash)
 {
     return(Pbkdf2HashPassword.ValidatePassword(password, hash));
 }