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
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
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Parallel distributed processing and application in rendering based on
- Research and Implementation of Krylov Subspace Algorithm Based on CPU and GPU
- The Research on GPU Parallizing of AST3 Images Co-addition Module Swarp
- Study on Parallelization of Time-and Freguency-Domain MoM Based on Graphics Processing Units
- Parallel Analysis and Acceleration Method of AES Algorithm Based on OpenCL
- Study and Implementation of GPU Acceleration on Local Feature Algorithm SURF
- Discrete Particle Simulation of Vibration Sieve Based on CUDA
- The Multi-thread Parallel AES Algorithm Based on Opencl
- Research and implementation of encryption algorithm based on GPU parallel clustering
- Fast Calculation Method Based GPU of Explicit Finite Element and Application of Design and Manufacturing for Vehicle Body
- Study on the Key Account Service Marketing Strategy Investigation of Jilin Branch of ASB
- Cultural Conflict and Cultural Integration of the Strategic Alliance of KFS&PEPSICO
- The Study on Funds Centralized Management of Tobacco Company of a Province
- Strategy Study about Local Fashion Brand Identify Elements Optimization
- Research on the Distribution and Strategies of Agricultural Materials in Heilongjiang Province
- Research on the Optimizing the Industrial Structure of Agriculture in Qingzhou, Shandong Province
- Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
- Research of Efficient Computing Method on GPU-based LS-SVM
- Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce