Hi All, Could anyone recommend a js library that s...
# suitescript
s
Hi All, Could anyone recommend a js library that supports asymmetric encryption (rsa, ecc….etc.) and can be used in SS2.x?? I have tried sjcl, jsencrypt, web3 and either failed to load in as a module or only supports symmetric encryption. Please help
m
I've used cryptojs in NetSuite with success in the past
s
how did you use it? I tried to include crypto-js but failed. Is it limited to any specific version of crypto-js?
m
b
i dont think crypto-js has support for asymmetric, but you want to use version 3.30
4 and up use the native crypto.getRandomValues
that said, you should probably learn how to polyfill it, serious crypto libraries tend to have moved onto the window.crypto module