2 votes

AMPScript AES Encrypted and Decrypt with Crypto Apex Class

Finally I found a solution. MKCloud AMPScript's default AES implementation is based on a 256 bit key size, CBC with 16 byte block size, and PKCS7 with 1000 iterations. The derived Key generation is ...
Jaume Bonet's user avatar
2 votes

Retrieve claims from a jwt with apex

Grab the payload, then deserialize it: String[] parts = jwt.split('\\.'); Blob payloadDecoding = EncodingUtil.base64Decode(parts[1]); Map<String, Object> tokens = (Map<String, Object>)...
sfdcfox's user avatar
  • 491k
1 vote

Classic Master Encryption Keys in Apex

The accepted answer is 5 years old. According to this article, it should be possible. Implementation notes snippet : Encrypted fields are encrypted with 128-bit master keys and use the Advanced ...
compski's user avatar
  • 1,352

Only top scored, non community-wiki answers of a minimum length are eligible