【24h】

Optimized Password Recovery for Encrypted RAR on GPUs

机译:针对GPU上的加密RAR优化了密码恢复

获取原文
获取原文并翻译 | 示例

摘要

Files are often compressed for efficiency. RAR is a common archive file format that supports data compression, error recovery and file spanning. RAR uses classic symmetric encryption algorithm SHA-1 hashing and AES algorithm for encryption. These two algorithms cannot be cracked, so the only method of password recovery is brute force, which is very time-consuming. In this paper, we present an approach using GPUs to speed up the password recovery process. However, because the major calculation and time-consuming part, SHA-1 hashing, is hard to be parallelized, so this paper adopts coarse granularity parallel. That is, one GPU thread is responsible for the validation of one password. We mainly use four optimization methods to optimize this parallel version: asynchronous parallel between CPU and GPU, redundant calculations and conditional statements reduction, data locality by using LDS, and the usage of registers optimization. Experiment result shows that the final version reaches 43~57 times speedup on an AMD FirePro W8000 GPU, compared to a well-optimized serial version on Intel Core i5 CPU. Meanwhile, linear performance acceleration is achieved when using multi-GPUs.
机译:通常会压缩文件以提高效率。 RAR是一种常见的存档文件格式,支持数据压缩,错误恢复和文件扩展。 RAR使用经典的对称加密算法SHA-1哈希和AES算法进行加密。这两个算法无法破解,因此密码恢复的唯一方法是蛮力,这非常耗时。在本文中,我们提出了一种使用GPU来加快密码恢复过程的方法。但是,由于主要的计算和耗时部分SHA-1哈希很难并行化,因此本文采用了粗粒度并行。也就是说,一个GPU线程负责一个密码的验证。我们主要使用四种优化方法来优化此并行版本:CPU和GPU之间的异步并行,冗余计算和条件语句减少,使用LDS的数据局部性以及寄存器优化的用法。实验结果表明,与经过优化的英特尔酷睿i5 CPU串行版本相比,最终版本在AMD FirePro W8000 GPU上达到了43〜57倍的加速。同时,使用多GPU时可实现线性性能加速。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号