Sign in to follow this  
JasonL220

encryption/decryption?

Recommended Posts

JasonL220    132
i would like to encrypt my resource files in my projects so as they cant be use without permition but i'm unsure how to encrypt and decript them? The type of files i was thinking of was .bmp .tga .jpeg .ms3d etc. thanks

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
By definition, if your game can decrypt the resources, the players of your games can decrypt the resources.

Share this post


Link to post
Share on other sites
Ra    1062
The simplest way would be to XOR the file by a number or string. Then you'd just XOR it again to get the original file.

If you want something more secure you'll want to look into actual encryption algorithms. IMO this seems like a waste of time, because if someone is determined enough they'll be able to get your resource files, and it's extra work to implement.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this