Hello there! does anybody knows how to do a simple...
# suitescript
r
Hello there! does anybody knows how to do a simple string hash using N/crypto? I need to pass a hashed string to a 3rd party auth service and can't do it following the official docs
e
In order to use N/crypto, you need to create a suitelet to store a secret key and then get the GUUID, it is on the docs and it is not such simple. If you only need a hashed string, take a look at N/encode module, there are some methods for hash or consider using an external library such CryptoJS
👍 2
r
Thanks a lot for replying
👍 2