How to use JS packages in Qualtrics? | XM Community
Skip to main content

Hi community,
I am a newbie and not so used to working with JS.
I am trying to hash an input string from an open-end survey question.
To be precise I want to encrypt it using SHA-512. I found this library after a google search - crypto-js - npm (npmjs.com)
But I am not sure how I can import it so that I can use its functions in my JS code on Qualtrics?
Sorry if my question was not clear, but coming from a python background my understanding is that for using external libraries/packages I need to import them first.
Any help is appreciated.

We can use JsSHA, easy to implement.


Leave a Reply