lambda error with cryptojs library

hello community,

I am using the cryptojs library to convert a wordarray to base64 by the code below

but when I run the call this error appers "wordArray.clamp is not a function"

maybe the current library is not newer version?

I need your help to find other solution.

thanks.

let dsSignature = cryptojs.enc.Base64.stringify($var.encodedDsSignature);
return ["HMAC base64", dsSignature];
3 replies