Hi all, I have an external application that uses O...
# suitescript
k
Hi all, I have an external application that uses OAuth with
RSA-SHA1
as the signing method for integration. Both
N/crypto
and the popular
crypto-js
don’t support this asymmetrical method. Any AMD-compliant library you can suggest?
basically is a giant library that does everything
has the minor requirement that you polyfill window before loading it
expect pretty slow performance, whatever runs suitescript is slow in general and the binary operations involved are even slower
k
How would you polyfill window before loading?
b
create a global named window that is the global itself
the usual for getting the global context is
Copy code
(function () { return this; })()
you would want to do this in a custom module loaded before node-forge
k