[Presentation] A MD5 cipher decryption method based on GPU parallel computing

Source: Internet
Author: User

[Code]

Section 0:introduction of MD5, and some of its application [REF]

STEP1: Starting at the end of the plaintext 1000000 ... until (data length)% =448"units: bitSTEP2: Continue to fill 64bit, This 64bit stores the length of the plaintext before filling STEP3: Split the filled information into integers of 512bit BLOCKS, one block processing step4:for each 512b_blocks:round (  1.. 4)
      

Application:

Passwords in Unix systems

Section 1:cracking MD5

1.md5 theoretically impossible to restore the original text (according to information theory)

But there's a brute force approach.

Common blasting methods: Rainbow Watch, violence

Rainbow table: In advance to play a big big large table, inside record a large tuo plaintext and corresponding MD5

Violence: a poor lift

Break the code? No need to recover plaintext from MD5. Just enumerate the plaintext and find the same MD5

Section 2:usage of CUDA in parallel computing, and the parallel algorithm for cracking MD5

2.1 Introduction of CUDA

2.2 Parallel cracking algorithm

The plaintext solution space (alphabet permutation combination) is decomposed into several groups, which are assigned to different GPU SM to calculate the MD5 in parallel and match the original MD5.

Section 3:performance Testing

Okay, that's good.

Section 4:conclusion

Although it can be exploded, the cost is enormous for long passwords. MD5 can continue for a few years.

Section?: the Future researching

[Ref] [Ref]

[Presentation] A MD5 cipher decryption method based on GPU parallel computing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.