public E Mode { get;set;}
public static void Main()
var hash = new System.Security.Cryptography.SHA1Managed().ComputeHash(System.Text.Encoding.UTF8.GetBytes("Good Morning"));
titi += (string.Format("{0:x2}", b));
static string Hash(string input)
using (System.Security.Cryptography.SHA1Managed sha1 = new System.Security.Cryptography.SHA1Managed())
var hash = sha1.ComputeHash(System.Text.Encoding.UTF8.GetBytes(input));
var sb = new System.Text.StringBuilder(hash.Length * 2);
sb.Append(b.ToString("X2"));