Пример #1
0
 // Token: 0x0600054F RID: 1359 RVA: 0x000050B5 File Offset: 0x000032B5
 internal static byte[] smethod_9(byte[] byte_4)
 {
     if (!Class18.smethod_6())
     {
         return(new MD5CryptoServiceProvider().ComputeHash(byte_4));
     }
     return(Class18.smethod_0(byte_4));
 }
Пример #2
0
        // Token: 0x0600054D RID: 1357 RVA: 0x0002CE8C File Offset: 0x0002B08C
        internal static SymmetricAlgorithm smethod_7()
        {
            SymmetricAlgorithm result = null;

            if (Class18.smethod_6())
            {
                result = new AesCryptoServiceProvider();
            }
            else
            {
                try
                {
                    result = new RijndaelManaged();
                }
                catch
                {
                    result = (SymmetricAlgorithm)Activator.CreateInstance("System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", "System.Security.Cryptography.AesCryptoServiceProvider").Unwrap();
                }
            }
            return(result);
        }