Sign in to follow this  

encryption/decryption?

This topic is 4392 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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
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

This topic is 4392 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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