private static void Main() { PasswordSalt passwordSalt = new PasswordSalt(); string value = passwordSalt.GenerateSaltValue().ToString(CultureInfo.InvariantCulture); string passwordHash = passwordSalt.HashPassword("password", value, _algo); Console.WriteLine("{0}", passwordHash); }