using System.Security.Cryptography;
public static void Main()
byte[] salt = Convert.FromBase64String("3tKJrhwSwvp1TG0w");
byte[] pw = Convert.FromBase64String("aGFzaGNhdA==");
using (HashAlgorithm hA = (HashAlgorithm) new SHA256Cng())
Console.WriteLine( Convert.ToBase64String(hA.ComputeHash(Encoding.Unicode.GetBytes(salt + ":" + pw))) );