Join Slack
Powered by
Hi, is there a way to generate cryptographic stren...
# suitescript
g
Gareth
01/10/2022, 2:25 AM
Hi, is there a way to generate cryptographic strength pseudo-random numbers in SuiteScript?
b
battk
01/10/2022, 2:31 AM
general answer is no
battk
01/10/2022, 2:33 AM
the insane answer is that
CipherPayload.iv
is probably cryptographically random values.
g
Gareth
01/10/2022, 2:34 AM
Awesomeness! Will check that one out. I like insane answers, crypto is all about insanity right? 😛 😄
b
battk
01/10/2022, 2:46 AM
you have not yet realized how dumb that answer is
g
Gareth
01/10/2022, 2:48 AM
Pardon?
b
battk
01/10/2022, 2:50 AM
using the iv is a very dumb workaround
battk
01/10/2022, 2:51 AM
its far easier living with netsuite's regular random numbers
battk
01/10/2022, 2:51 AM
or hopefully instead using N/crypto
2
Views
Open in Slack
Previous
Next