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);
By it's very nature you cannot decrypt MD5. It's a one way hash algorithm. There are some sites that claim to decrypt certain phrases but all they do is store known phrases to return them.