• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

How to encrypt json to bin?

Topics related to the creation, development, and designing of the watch faces.

Moderators: asoo, Watchmens

Forum rules
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
Post Reply
abeloman
WF maker
Posts: 1
Joined: 24 Jun 2022, 23:58
Location: Veracruz
Contact:

How to encrypt json to bin?

Post 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.
User avatar
asoo
Posts: 2109
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 404 times
Been thanked: 2023 times

Post 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.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
Post Reply

Return to “Watchfaces discussion”

Who is online

Users browsing this forum: No registered users and 1 guest