function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
otbuildotbuild 

Generate Authentication token using HMACSHA1

Hi,

 

How do we generate authentication token using HMACSHA1 in Apex?

 

Thanks,

Prasad

crop1645crop1645

Please refer to the Apex Developers Guide - section on Crypto class

otbuildotbuild

Hi Eric,

 

Thank you for your reply. I could migrate C# code to Apex code using methods of Blob, Crypto and EncodingUtil classes.

 

Thanks,

Prasad