Skip to main content

MD5 Calculation and Decryption Using CUDA on GPU

  • Conference paper
  • First Online:
  • 1392 Accesses

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 426))

Abstract

It is difficult to get the original information from a MD5 hash since MD5 is an irreversible hash algorithm. MD5 decryption is based on MD5 calculation for brute force attack, which requires great computing resources. This paper presents an approach for MD5 calculation and decryption on GPU, which has high concurrency. The CUDA program performed on a PC with NVIDIA GTX 560TI graphics card. The experimental result has shown that the calculating speed is 150 million words per second, increasing from 10 to 20 times compared to program run on CPU (Core i7-950 @3.07 GHz). GPU has great potential in future general-purpose computing and concurrent computing.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. MD5 Wiki. http://en.wikipedia.org/wiki/MD5

  2. RFC 1321, section 3.4, Step 4. Process Message in 16-Word Blocks, p. 5

    Google Scholar 

  3. NIST.gov: Computer Security Division, Computer Security Resource Center. http://csrc.nist.gov (2010). Accessed 9 Aug 2010

  4. Wang, F., Yang, C., Wu, Q., Shi, Z.: Constant memory optimizations in MD5 Crypt cracking algorithm on GPU-accelerated supercomputer using CUDA. In: 2012 7th International Conference on Computer Science & Education (ICCSE), pp. 638–642 (2012)

    Google Scholar 

  5. CUDA C Programming Guide. http://docs.nvidia.com/cuda/index.html

  6. Nguyen, D.H., Nguyen, T.T., Duong, T.N., et al.: Cryptanalysis of MD5 on GPU Cluster. In: 2010 international conference on information security and artificial intelligence. 2, 910–914 (2010)

    Google Scholar 

  7. Wu, H., Liu, X., Tang, W.: A Fast GPU-based implementation for MD5 hash reverse. In: 2011 IEEE International Conference on Anti-Counterfeiting Security and Identification, pp. 13–16 (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mingshan Lei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Jiang, Y., Lei, M. (2014). MD5 Calculation and Decryption Using CUDA on GPU. In: Yuan, Y., Wu, X., Lu, Y. (eds) Trustworthy Computing and Services. ISCTCS 2013. Communications in Computer and Information Science, vol 426. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-43908-1_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-43908-1_3

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-43907-4

  • Online ISBN: 978-3-662-43908-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics