Page 1 of 1

How to encrypt json to bin?

Posted: 16 Jun 2023, 00:34
by abeloman
Is there a way to make the conversion from json to bin file?

I'd like that my watchfaces were unable to decompress, because it involves a lot of work and dedication.

Thanks in advance.

Re: How to encrypt json to bin?

Posted: 16 Jun 2023, 08:58
by asoo
It is recommended that you specify the device you are talking about.
such as GTR3 or others, in order for those who want to help you to answer questions correctly.
.
.
In the following section is a tool used to encrypt or obfuscate javascript.
(index.js) of GTR3 / GTR 4 ( Devices running ZappOS ) is the java section to block access to this code. You can do this by encoding it by doing This will make understanding the code more difficult.
However, encryption may be limited in some cases. If it applies to equipment, you must understand. And test it on real devices to get the results you want.


If you want to encrypt your JavaScript files to obfuscate or prevent code from being read and analyzed. You can use any of the online JavaScript encoding tools and programming tools that can help you do it. For example:

UglifyJS (https://github.com/mishoo/UglifyJS) - JavaScript code encoding and minifying tool, including obfuscation.

JavaScript Obfuscator (https://obfuscator.io/) - An online tool that offers automatic JavaScript encoding and obfuscation.

Google Closure Compiler (https://developers.google.com/closure/compiler) - A JavaScript tool used for code minification and encryption.

When you use these tools Just select your JavaScript file and set the encoding as desired. The program will process and return the encoded JavaScript file for you to use.