Encrypt / Decrypt & Compress your files and game resources super fast and secure!
This is a set of scripts for secure and fast file encryption and encoding. This bundle contains several scripts which provide various encryption/encoding levels.
fast_file_key_crypt_compress() - (GMS2 only) Secure file compression & encryption using fast "Vulk@n" algorithm with secret 1152 bit key. Use this for best security and smallest result file size! Compressed files are up to 15 times smaller than the original input files. Best compression ratios are achievable for txt, ini, xml, json and other similar plain text files.
fast_file_key_crypt() - Secure file encryption using fast "Vulk@n" algorithm with secret 1152 bit key. Very secure!
fast_file_encrypt() - Advanced file encoding by shifting each byte by variable number of bits. Use this if you want just to hide your game resources. No key is required, but user can decode your files if he knows how.
fast_file_crypt() - Very simple file encoding by shifting each byte by 128 bits. No key is required, but user can decode your files if he knows how.
Although scripts 'fast_file_encrypt' and 'fast_file_crypt' do not provide high security, they prevent players from looking into your game resource files such as level data, INI files, etc.. and changing their contents by obfuscating the original data.
Features:
Several scripts for fast / secure encryption.
Encryption using fast "Vulk@n" algorithm with secret 1152 bit key.
Support for any file types (binary, text, images, ini, etc...).
Use of FAST 'buffers' instead of SLOW 'file_bin_' functions.
Can encrypt/decrypt to the same or to another new file.
Encrypted/encoded file size is exactly the same as the original file size. All scripts except 'fast_file_key_crypt_compress()' which compresses data prior to encryption.
Encoding scripts do NOT use base64 encoding (that's an advantage over other simple encoding scripts).
All scripts are heavily commented with detailed explanation of each step.
Supported both GameMaker: Studio 1.x (except compression script) and 2.x (all scripts).
End User Licence Agreement (EULA).
Now you can securely encrypt your files with secret key using new script 'fast_file_key_crypt(input_file, output_file, is_encrypted, encryption_key_string)'