C#ÅLqŒµ if (this.textBox1.Text.Length < 12) @@return;
SHA1Managed sha1 = new SHA1Managed(); sha1.Initialize(); byte[] v = sha1.ComputeHash(Encoding.UTF8.GetBytes(this.textBox1.Text)); string s = Convert.ToBase64String(v); s = s.Remove(12); s = s.Replace("+","."); this.textBox2.Text = s;