Friday, June 11, 2021

Convert Encryption key to string (Decode the string)

Convert Encryption key to string or Decode the string or Covert MD5 hash to string :


Blob targetBlob = Blob.valueOf('ad89a9b94b5efd734e0c75a1480c20a4AD64439');

Blob hash = Crypto.generateDigest('MD5', targetBlob);

string hexDigest = EncodingUtil.convertToHex(hash);

system.debug('hexDigest==>'+hexDigest);

No comments:

Post a Comment

CSS Styling

Styling: 1. Inline Styling: < div style = "font-size: 2rem;font-weight: 400;" > Good Evening </ div > 2. Usi...