Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Eval(Binary) expression in new javaScript Engine

Participant ,
Apr 21, 2020 Apr 21, 2020

Hello friends,


In the past I encrypted my expression in After Effects (using jsxbin) and inserted the binary code into eval () and everything worked fine.
And now with the new javaScript expression engine in After Effects it doesn't work and brings up an error message: SyntaxError: Invalid or Unexpected Token.
How can this be corrected in the new expression engine?

 

example: 

eval("@JSXBIN@ES@2.0@MyBbyBn0ABbAn0ABJAnASzBjBByBndFffABB40BiAABAzACByB")

 

 

eval("@JSXBIN@ES@2.0@MyBbyBn0ABbAn0ABJAnASzBjBByBndFffABB40BiAABAzACByB");

 

 

 

 
TOPICS
Expressions , Scripting
2.4K
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

Community Expert , Apr 21, 2020 Apr 21, 2020

The new engine is JavaScript, not ExtendScript, so JSXBIN only works in the legacy engine from now on. If you want to look into hiding your sourcecode, look into JavaScript obfuscation techniques, but watch out for a performance hit.

Translate
Community Expert ,
Apr 21, 2020 Apr 21, 2020

The new engine is JavaScript, not ExtendScript, so JSXBIN only works in the legacy engine from now on. If you want to look into hiding your sourcecode, look into JavaScript obfuscation techniques, but watch out for a performance hit.

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
Community Expert ,
Apr 21, 2020 Apr 21, 2020

yes, what Justin says. Simple minification might be the best balance - it does not create any performance problems and makes your expressions somewhat hard to read. There is simply no reliable way to protect your expressions - it is just about making it less convenient to hack them.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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
Participant ,
Apr 26, 2020 Apr 26, 2020
LATEST

Thanks

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