Example #1
0
        private static string GetHash(string s)
        {
            MD5           sec = new MD5CryptoServiceProvider();
            ASCIIEncoding enc = new ASCIIEncoding();

            byte[] bt = enc.GetBytes(s);
            return(Updater.bytesToHash(sec.ComputeHash(bt)));
        }