using System.Security.Cryptography;
public static void Main()
using (var sha = new SHA256Managed())
var bytes = Encoding.Default.GetBytes(password);
byte[] encodedBytes = sha.ComputeHash(bytes);
var hash = BitConverter.ToString(encodedBytes).Replace("-", string.Empty);
var result = string.Format("UPDATE SupportAccount SET BypassSaltForPassword = 1, PasswordEncryptedPassword = '{0}', PasswordExpiresDateUtc = '2019-01-01T00:00:00' WHERE SupportAccountID = XXXX", hash);
Console.WriteLine(result);