I'm searching for, and not finding, a relatively s...
# suitescript
c
I'm searching for, and not finding, a relatively simple way to do SHA256 hashing in SS1.0 server env. I hope I'm overlooking something simple.
b
nope, pick your favorite crypto library instead
probably an older one, ss1 is primitive
c
10-4, ty
Went with this: https://github.com/emn178/js-sha256 Had to hack it a bit to use a
define
that SCA likes...
c
I believe cryptoJS works in 1.0 as well and does it
c
I've used that one in the past, it's a big library.
s
if you're running this in a SS1.0 server environment, that doesn't jive with your statement about using
define
c
the context is suitecommerce