public static void Main()
byte[] bIn = System.Text.Encoding.Unicode.GetBytes("scte1234");
byte[] bSalt = Convert.FromBase64String("IV/YE11sFhjO8Cx1n9snpXyb1sWrsxubBIgwu5JVbhQ=");
byte[] bAll = new byte[bSalt.Length + bIn.Length];
Buffer.BlockCopy(bSalt, 0, bAll, 0, bSalt.Length);
Buffer.BlockCopy(bIn, 0, bAll, bSalt.Length, bIn.Length);
System.Security.Cryptography.HashAlgorithm s = System.Security.Cryptography.HashAlgorithm.Create("SHA1");
bRet = s.ComputeHash(bAll);
Console.Write("Generated hash : ");
Console.WriteLine(Convert.ToBase64String(bRet));
Console.Write("Expected hash : ");
Console.WriteLine("AceoY0Dseb7gRiz7eDH5y7TyTKku1pnx1dANULE1MrE=");