Encode/Encrypt/Hide contents of file

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Encode/Encrypt/Hide contents of file

Post by Insert_witty_name »

Hey.

I'm trying to 'hide' the contents of a saved file for my latest app, so it can be saved/loaded without the risk of it being manually altered by someone.

It's basically created as a text file.

I have no idea where to start, what are the possibilities for such a thing?

Thanks.
Jabberwocky
Posts: 43
Joined: Wed Aug 03, 2005 6:58 pm

Post by Jabberwocky »

Encrypt and/or compress it. Search the web for "file encryption source code". Or something really simple like CRC/MD5 check on the file contents.

As long as the encryption and decryption are done by the same application it's crackable, though. Personally I wouldn't bother, other than for corruption detection purposes.

-Jw
Post Reply