Пример #1
0
        public static string CreateKey(string info, string s)
        {
            string     mw16 = MyEncrypt.GetMd5_16(info, true);
            string     mw32 = MyEncrypt.GetMD5(info);
            List <int> i41  = MyEncrypt.GenerateNumber(4, 16);
            List <int> i42  = MyEncrypt.GenerateNumber(4, 32);

            mw16 = MyEncrypt.getRjCode(i41, MyEncrypt.split(mw16));
            mw32 = MyEncrypt.getRjCode(i42, MyEncrypt.split(mw32));
            string date = DateTime.Now.Year + bu0(DateTime.Now.Month) + bu0(DateTime.Now.Day);

            return(ListToString(i41) + MyEncrypt.FanZhuan(MyEncrypt.getNumChar(s)) + ListToString(i42) + MyEncrypt.FanZhuan(MyEncrypt.EncryptA(date)) + mw16 + mw32);
        }