8

How do I re-order file content to implement simple encryption

view full story
linux-howto

http://stackoverflow.com – If I have some files that have a recognizable signature e.g. Magic Number, they are recognized in Nautilus as a Document, Video or Audio regardless of suffix. If I want to encode them without the encoded file itself being recognized as being encoded, one simple strategy could be to re-order the file contents in blocks: For example, if the file is split into 10 equally sized blocks (any remainder can be left behind as a variable sized 11th block, K) ABCDEFGHIJK, a simple encoding would rearrange the block order: e.g. block_encode input_file output_file would result in an output file organiz (HowTos)