using System.Security.Cryptography;
public static void Main(string[] args)
String password = "default";
HMACSHA256 hash = new HMACSHA256();
hash.Key = Encoding.Unicode.GetBytes(password);
string encodedPassword = Convert.ToBase64String(hash.ComputeHash(Encoding.Unicode.GetBytes(password)));
Console.WriteLine(encodedPassword);