InBlock.gif using System.Security.Cryptography;
InBlock.gif string str = "20070111";
InBlock.gif            SHA1 sha1 = new SHA1CryptoServiceProvider();
InBlock.gif             byte[] bytes_sha1_in = UTF8Encoding.Default.GetBytes(str);
InBlock.gif             byte[] bytes_sha1_out = sha1.ComputeHash(bytes_sha1_in);
InBlock.gif             string str_sha1_out = BitConverter.ToString(bytes_sha1_out);
InBlock.gif            MessageBox.Show(str_sha1_out);