Esempio n. 1
0
        // Token: 0x0600009B RID: 155 RVA: 0x00006790 File Offset: 0x00004990
        public static string smethod_0(string string_0)
        {
            string @string = Encoding.Default.GetString(Convert.FromBase64String(Class6.APIENCRYPTKEY));
            SHA256 sha     = SHA256.Create();

            byte[] byte_ = sha.ComputeHash(Encoding.ASCII.GetBytes(@string));
            byte[] bytes = Encoding.ASCII.GetBytes(Encoding.Default.GetString(Convert.FromBase64String(Class6.APIENCRYPTSALT)));
            return(Class16.smethod_3(string_0, byte_, bytes));
        }
Esempio n. 2
0
        // Token: 0x0600009C RID: 156 RVA: 0x00006800 File Offset: 0x00004A00
        public static string smethod_1(string string_0)
        {
            string @string = Encoding.Default.GetString(Convert.FromBase64String(Class6.APIENCRYPTKEY));
            SHA256 sha     = SHA256.Create();

            byte[] byte_ = sha.ComputeHash(Encoding.ASCII.GetBytes(@string));
            byte[] bytes = Encoding.ASCII.GetBytes(Encoding.Default.GetString(Convert.FromBase64String(Class6.APIENCRYPTSALT)));
            string str   = Class16.smethod_3(string_0, byte_, bytes);
            int    int_  = int.Parse(Class10.string_0.Substring(0, 2));

            return(str + Class12.smethod_2(int_));
        }