CryptoJS API supported or not?

#1

Hello,

I would like know if the Losant IOT platform supports CryptoJS API in function Node, I tried to decipher a message that i received from my device using DES or AES function of this API but I have the following error:
“FunctionNodeReferenceError CryptoJS is not defined”
is there any solution fo bypass this issue ?

thanks.

BR,
Med.

0 Likes

#2

There is currently not an easy way to perform crypto operations in our workflows. Adding a crypto node is already on our roadmap. A work-around for the moment could be to use an AWS Lambda function to perform the decryption and then use the AWS Lambda Node to invoke it.

1 Like