【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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号