using System.Security.Cryptography;
public static void Main()
byte[] passBytes = Encoding.UTF8.GetBytes("estech");
SHA1 sha = new SHA1CryptoServiceProvider();
byte[] hashPassBytes = sha.ComputeHash(passBytes);
string hashPass = Convert.ToBase64String(hashPassBytes);
Console.WriteLine(hashPass);