Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Basic Game File encryption

Author
Message
Hummanoid Typhoon
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 13th Aug 2005 19:09 Edited at: 9th Jan 2006 19:18
This is definitley not very powerful encryption. But I wrote it to protect game data from being easily edited. eg high score tables.

I'll probably increase it's security later. But i think it's sufficent for the purpose.

To use it simply put the 4 functions into your code.
and call:
encryptfile(filename$)
or
decryptfile(filename$)

I added some simple code to allow you to test the functions.




Clever code is fast code

sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 21st Oct 2005 04:28
missing a few lines...

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Hummanoid Typhoon
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 9th Jan 2006 19:20
i edited my first post it now works.

Haven't been on the forums for a while hance lack of reply. Hope it works now!

Clever code is fast code

Login to post a reply

Server time is: 2024-11-23 07:28:14
Your offset time is: 2024-11-23 07:28:14