Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

How decrypt MD5

Asked by Ankesh Kumar Apr 16, 2021 1.4K views 2 answers
Share

About this question

I'm try decrypt one string in format MD5 but I have not been able, this the code:

String e = 'test@testcom'; Blob b = Crypto.generateDigest('MD5', Blob.valueOf(e)); System.debug(EncodingUtil.base64Encode(b)); String result = EncodingUtil.convertToHex(b); System.debug(result); Blob b2 = EncodingUtil.convertFromHex(result); String e2 = EncodingUtil.base64Encode(b2);

How to decrypt MD5?

Your answer

2 Answers

Alfredaweimann Latest answer

Answered on Feb 19, 2025

There is no way to decode MD5. With authentication systems like raft wars, instead of decoding the MD5, you can store the original value and compare the new hash value to the stored value.

Was this helpful?

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.