A good way to do encryption is random seeds using xor, a look-up-table, and interpolating characters.

That way, if the smallest change occurs, the entire file is corrupt.