I need to do something, like this:
"var c_password_hash = CryptoJS.SHA512(password).toString()"
In this case, I have a variable that I need to hash with sha512 (hash 512 bytes) and then save it in another variable.
I need to do something, like this:
"var c_password_hash = CryptoJS.SHA512(password).toString()"
In this case, I have a variable that I need to hash with sha512 (hash 512 bytes) and then save it in another variable.
Hello, this forum is for discussion relating to Genesys Cloud. For general programming questions, you might try public programming forums such as Stack Overflow, for example.
Yes, I know but I need to do something like that in the Architect of the Genesys Cloud.
No. Architect does not let you run any random piece of code you want. Architect does have an encrypt data action but you don't get to specify the algorithm to use. Otherwise the normal solution would be to write a data action to send your data to some service or lambda you create to do whatever you're trying to achieve. Since you're talking about a password make it a secure data action instead of a normal data action, as long as that will satisfy whatever security requirements you have.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.