Pure Python Data Mangling or Encrypting

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu Jul 2 00:31:50 CEST 2015

Randall Smith wrote:

>  Worse case, something that looks like this would land on the disk.
> crc32 checksum + translation table + malware

It would be safer to add something to both the
beginning *and* end of the file. Some file formats,
e.g. zip, pdf, are designed to be read starting
from the end.

So I would suggest something like

   crc32 checksum + payload + translation table


More information about the Python-list mailing list