Unity Resources Randomized Encryption Solution

May 7, 2025
None
Compared to Assetbundle, Unity Resources resources are great for rapid prototype development because of their simplicity and ease of use, and there are still a lot of games that use this type of resources.

Unity Resources resource files are packaged and exist as a file named with a hash value under assets/bin/Data path, as shown in the following figure:
Unity Resources Randomized Encryption Solution
 
JikGuard has conducted an in-depth analysis of the Unity Resources resource loading principle, found the core point of encryption and decryption, and constructed a solution and algorithm for random encryption of resources.

The original Resources file, in binary, is shown below, and you can see a lot of information about the version of the resources:
Unity Resources Randomized Encryption Solution
 
After JikGuard encrypted resources, no information can be seen, and the content of the file is completely different after each encryption, as shown in the figure below:
Unity Resources Randomized Encryption Solution
 
Then use AssetStudio to parse the resources and compare the effect before and after encryption.

First of all, look at the unencrypted resource file, use AssetStudio click Load file to load the resource, after loading the parsing results are shown in the following two charts:
Unity Resources Randomized Encryption Solution
Unity Resources Randomized Encryption Solution
 
We can see that AssetStudio parses out a lot of information.
 
The following figure shows the result of using AssetStudio to load the encrypted Resources resource file with JikGuard:
AssetStudio can't recognise JikGuard encrypted resources.
AssetStudio can't recognise JikGuard encrypted resources.

In addition, JikGuard also provides high-strength assetbundle encryption, global metadata encryption, SO shelling and other features, can be almost all the files related to the game in the Unity game package to do randomised encryption processing, support for Android/iOS/Windows multi-platform.
 

JikGuard.com, a high-tech security service provider focusing on game protection and anti-cheat, is committed to helping game companies solve the problem of cheats and hacks, and providing deeply integrated encryption protection solutions for games.

Explore Features>>