public static string HashPassword(string password, ulong iterations)
 {
     return(SCryptAlgorithm.HashPassword(password, SCryptAlgorithm.GenerateSalt(iterations)));
 }
 public static string HashPassword(string password)
 {
     return(SCryptAlgorithm.HashPassword(password, SCryptAlgorithm.GenerateSalt()));
 }
 public static string GenerateSalt(ulong iterations)
 {
     return(SCryptAlgorithm.GenerateSalt(SCryptAlgorithm.DefaultSaltLengthBytes, iterations, SCryptAlgorithm.Default_r, SCryptAlgorithm.Default_p, SCryptAlgorithm.DefaultHashLengthBytes));
 }