Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Espaรฑol
      • Franรงais
      • Portuguรชs
  • ๆ—ฅๆœฌ่ชžใ‚ณใƒŸใƒฅใƒ‹ใƒ†ใ‚ฃ
  • ํ•œ๊ตญ ์ปค๋ฎค๋‹ˆํ‹ฐ
0

RSA Library for ExtendScript?

Advocate ,
Jul 19, 2015 Jul 19, 2015

Hi,

has anyone been able to implement a JS library for RSA encryption in ExtendScript?

I've been using CryptoJS quite successfully, but it lacks a RSA module. I've tried travist/jsencrypt ยท GitHub with no luck (ExtendScript complains for few things, like window and navigator), I'll be trying digitalbazaar/forge ยท GitHub too in the next days.

Any suggestion is welcome.

Thank you!

Davide Barranca

TOPICS
Scripting
535
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Jul 21, 2015 Jul 21, 2015

FYI,

  • jsencrypt: lack of window and navigator object could be worked around equalling var window = $.global and creating a navigator obj (borrowing one from, say, Chrome)
  • jsrsasign: ugly API
  • forge: seems to be the better one, fast and it works both in JSX bundling the library and server side as a node.js module, (which was a prerequisite) - could have a better documentation, though.

-Davide

Translate
Advocate ,
Jul 21, 2015 Jul 21, 2015
LATEST

FYI,

  • jsencrypt: lack of window and navigator object could be worked around equalling var window = $.global and creating a navigator obj (borrowing one from, say, Chrome)
  • jsrsasign: ugly API
  • forge: seems to be the better one, fast and it works both in JSX bundling the library and server side as a node.js module, (which was a prerequisite) - could have a better documentation, though.

-Davide

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines