Compressing and Encrypting

Jul 14, 2011 at 3:55pm
How can you compress and encrypt any multiple files into one file that is your own format?
Jul 14, 2011 at 5:11pm
closed account (z05DSL3A)
Design and implementation.
Jul 14, 2011 at 5:17pm
anything i can read on!.
Jul 14, 2011 at 5:24pm
closed account (z05DSL3A)
I would start by reading about something like Zip format.
http://www.pkware.com/support/zip-app-note
Jul 14, 2011 at 5:31pm
Any algorithms i can make notes off -.-
Jul 14, 2011 at 10:06pm
Use an existing algorithm implementation, such as the LZMA algorithm:
http://www.7-zip.org/sdk.html

Then just store the compressed data along with the uncompressed size and any other information you want to keep (name, modification date, hash...) into a file.
Jul 15, 2011 at 7:21pm
Thanks very much :)
Topic archived. No new replies allowed.