示例#1
0
        private static void smethod_16(MemoryStream memoryStream_0)
        {
            MemoryStream memoryStream = new MemoryStream();

            using (AesCryptoServiceProvider cryptoServiceProvider = new AesCryptoServiceProvider())
            {
                cryptoServiceProvider.Mode = CipherMode.CBC;
                cryptoServiceProvider.Key  = Class67.smethod_15();
                cryptoServiceProvider.IV   = Class67.smethod_15();
                byte[] buffer = new byte[512];
                using (CryptoStream cryptoStream = new CryptoStream((Stream)memoryStream_0, cryptoServiceProvider.CreateDecryptor(), CryptoStreamMode.Read))
                {
                    int count;
                    do
                    {
                        count = cryptoStream.Read(buffer, 0, 512);
                        memoryStream.Write(buffer, 0, count);
                        Class67.int_0 = 0;
                    }while (count > 0);
                }
                for (int index = 0; index < 16; ++index)
                {
                    cryptoServiceProvider.IV[index]  = (byte)0;
                    cryptoServiceProvider.Key[index] = (byte)0;
                }
            }
            Class67.zipArchive_0 = new ZipArchive((Stream)memoryStream);
        }