Forum Discussion
Mosh
Professor
8 years agoHi Sarah,
Unfortunately I can't use the CryptoJS library in the Google Apps Script environment, not without having to make changes. Google provides it's own HMAC SHA 256 functions in their Apps Script Utilities class, but I don't appear to be getting the same results. It would be good to have a native GAS example that only uses the GAS Utilities library for the HMAC and Base 64 stuff.
I used what seems like the obvious function from the GAS Utilties class based on your Python sample code, but the results are not the same.
https://developers.google.com/apps-script/reference/utilities/utilities
Related Content
- 5 months ago
- 2 years ago
- 7 months ago