Parallel Implementation and Optimization of Hash Algorithm Based on GPU

Author
HuangJinZeng
Advisor
ChenHu , ZhengDongZuo
School
South China University of Technology
Major
Software Engineering
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2011
Downloads
75
Citations
5

Request the full text

Abstract

With the rise of GPU mode of high-performance computing, the advantages of GPU computing model gradually be reflected, the vast scale of its application has also obtained a corresponding degree of expansion. The other hand, all password protection technology continues developing, mainly the one-way hash algorithms’complexity increasing, leads to a large computation and difficulty of the search. For the traditional CPU hash algorithm, the password recover process is a process of iteration, with low efficiency and low speed calculation. Therefore, the use of traditional methods of CPU is unable to meet the needs of today’s applications, there is an urgent need for a new technology with more computing power to solve the problem.This article focus on seven one-way hash algorithms including MD5, NTLM, MSCACHE, MYSQL5, DOMINO, UNIX_DES and UNIX_MD5,first analyzes principles of these hash algorithms,and then uses massive parallel computing power of the GPU to realize GPU parallel algorithm version. Specific approach is: the appropriate cryptographic hash algorithms package corresponding GPU external interface, call GPU external interface in the CPU.GPU, through its internal thread execution Manager ,controls hash generater and generate the value, it produces more than one possible different hashed values. These, it produces many different hash value after you enter the different threads of the GPU, these threads can proceed parallel computing for different passwords, compares with the known hash value, and final output of the comparison is obtained. The number of GPU threads are usually up to 100,000, so parallel computation of cracking process have very high efficiency.In order to improve the speedup of the whole program, this article presents a series of hash algorithms optimization, the main optimization strategies are: parallelization strategies setting, texture memory , constant storage optimization, global memory coalesced, CPU and GPU parallel optimization discrete character space optimization,and so on.The experiment result shows these strategies achieve desired purpose.

Related dissertations

  1. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Parallel distributed processing and application in rendering based on
  3. Research and Implementation of Krylov Subspace Algorithm Based on CPU and GPU
    ZuoDingXi ·Hunan University ·2013 ·Master's thesis
  4. The Research on GPU Parallizing of AST3 Images Co-addition Module Swarp
    KangWenDong ·Tianjin University ·2012 ·Master's thesis
  5. Study on Parallelization of Time-and Freguency-Domain MoM Based on Graphics Processing Units
  6. Parallel Analysis and Acceleration Method of AES Algorithm Based on OpenCL
    LinLeSen ·Jilin University ·2012 ·Master's thesis
  7. Study and Implementation of GPU Acceleration on Local Feature Algorithm SURF
    WangZhiGuo ·Tsinghua University ·2011 ·Master's thesis
  8. Discrete Particle Simulation of Vibration Sieve Based on CUDA
  9. The Multi-thread Parallel AES Algorithm Based on Opencl
    PeiYing ·Jilin University ·2012 ·Master's thesis
  10. Research and implementation of encryption algorithm based on GPU parallel clustering
  11. Fast Calculation Method Based GPU of Explicit Finite Element and Application of Design and Manufacturing for Vehicle Body
    WangJianHua ·Hunan University ·2011 ·Doctoral dissertation
  12. Study on the Key Account Service Marketing Strategy Investigation of Jilin Branch of ASB
    ChenFu ·Jilin University ·2013 ·Master's thesis
  13. Cultural Conflict and Cultural Integration of the Strategic Alliance of KFS&PEPSICO
    WuJian ·Central South University ·2013 ·Master's thesis
  14. The Study on Funds Centralized Management of Tobacco Company of a Province
    ChenQiangYu ·Ocean University of China ·2012 ·Master's thesis
  15. Strategy Study about Local Fashion Brand Identify Elements Optimization
  16. Research on the Distribution and Strategies of Agricultural Materials in Heilongjiang Province
    HanTieMing ·Jilin University ·2013 ·Master's thesis
  17. Research on the Optimizing the Industrial Structure of Agriculture in Qingzhou, Shandong Province
  18. Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
    FanMinJie ·Yangzhou University ·2013 ·Master's thesis
  19. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  20. Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
    FuZuoNa ·Anhui University ·2014 ·Master's thesis