Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to decrypt md5?

Asked by David Edmunds Apr 28, 2023 1.6K 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);

Your answer

2 Answers

Maggie Latest answer

Answered on Jul 8, 2024

MD5 (Message Digest Algorithm 5) is a widely-used cryptographic hash function that produces a 128-bit hash value. It is commonly used to verify data integrity. drift hunters

Was this helpful?

More Salesforce discussions

Learn & Explore

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

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.