Legacy Dev Forum Posts

 View Only

Sign Up

Is it possible to perform 512 byte hash (sha512) encryption within Purecloud?

  • 1.  Is it possible to perform 512 byte hash (sha512) encryption within Purecloud?

    Posted 06-05-2025 19:14

    sandcortez | 2023-05-03 14:04:10 UTC | #1

    I need to do something, like this:

    "var cpasswordhash = 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.


    tim.smith | 2023-04-18 13:18:30 UTC | #2

    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.


    sandcortez | 2023-05-03 14:01:45 UTC | #3

    Yes, I know but I need to do something like that in the Architect of the Genesys Cloud.


    MelissaBailey | 2023-05-03 14:28:19 UTC | #4

    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.

    https://help.mypurecloud.com/articles/encrypt-data-action/ https://help.mypurecloud.com/articles/decrypt-data-action/


    system | 2023-06-02 14:29:10 UTC | #5

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 19497