Use Stronger Hashing Algorithms with Apex Crypto Class

The Crypto class now supports RSA-SHA384 and RSA-SHA512 hashing standards, giving you more options for generating cryptographically strong key material. You can pass RSA-SHA384 and RSA-SHA512 values into the algorithmName parameter for Crypto.sign, Crypto.signWithCertificate, Crypto.signXML(), and Crypto.verify() methods. Use a third-party application or the Crypto.generateAesKey method to generate this key for you.

Where: This change applies to Enterprise, Performance, Unlimited, and Developer editions.

How: For information about generating and using key material, see the Crypto Class in the Apex Developer Guide.