4 ms·
one of the "underhanded c" contest winners many years ago was an entry for a redaction tool, which drew black boxes on an image in such a way that the software
by tpoacher 6y ago
one of the "underhanded c" contest winners many years ago was an entry for a redaction tool, which drew black boxes on an image in such a way that the software developer could later effectively recover the redacted information easily, while still being able to claim plausible deniability.
The trick was that it worked by producing a ppm file where pixels with single digits would become zeros, but double digits would become 00, and three digit ints would become 000 (all valid values for black in ppm).
- sdenton4 6y agoReminds me of an old Perl module which translated code into a trinary alphabet with the characters space, tab, and new line. The resulting coded file is just an import statement and whitespace, but runs just fine.
- tpoacher 6y agoHere is the link if anyone's interested: http://notanumber.net/archives/54/underhanded-c-the-leaky-redaction http://notanumber.net/archives/54/underhanded-c-the-leaky-re...