arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1505.07635cs.DCcs.CR
收藏

针对GPU上加密的RAR优化密码恢复

Optimized Password Recovery for Encrypted RAR on GPUs

Xiaojing An, Haojun Zhao, Lulu Ding, Zhongrui Fan, Hanyue Wang

摘要:

RAR使用经典的对称加密算法SHA-1哈希和AES算法进行加密,密码恢复的唯一方法是暴力破解,非常耗时。在本文中,我们提出了一种使用GPU来加快密码恢复过程的方法。但由于SHA-1哈希算法中计算量大、耗时长的部分很难并行化,因此本文采用粗粒度并行。也就是说,一个GPU线程负责验证一个密码。我们主要使用了三种优化方法来优化这个并行版本:CPU和GPU之间的异步并行、冗余计算和条件语句减少以及寄存器使用优化。实验结果表明,在AMD FirePro W8000 GPU上,该算法的最终版本比在Intel Core i5 CPU上优化的串行版本的性能提高了43~57倍。

英文摘要:

RAR uses classic symmetric encryption algorithm SHA-1 hashing and AES algorithm for encryption, and 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 three optimization methods to optimize this parallel version: asynchronous parallel between CPU and GPU, redundant calculations and conditional statements reduction, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑