Date: Mon, 5 Jul 2004 23:49:21 +0200 From: Miguel Mendez <flynn@energyhq.es.eu.org> To: Miguel Mendez <flynn@energyhq.es.eu.org> Cc: non_secure@yahoo.com Subject: Re: making files opposite from themselves (100% change) Message-ID: <20040705234921.54805a24.flynn@energyhq.es.eu.org> In-Reply-To: <20040705225955.240ea437.flynn@energyhq.es.eu.org> References: <20040705205500.30396.qmail@web53306.mail.yahoo.com> <20040705225955.240ea437.flynn@energyhq.es.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__5_Jul_2004_23_49_21_+0200_vsJl86WihyexhIPO Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 5 Jul 2004 22:59:55 +0200 Miguel Mendez <flynn@energyhq.es.eu.org> wrote: > The xor operation of a byte/word/dword with itself does that. You > could setup a buffer of the desired % of bytes you want to change, > read the bytes, xor them (^ in C) with itself and write back. It's > trivial in C/Perl/python/whathaveyou. This, of course, is supposed to read : the bitwise not operation. Never post before coffee. Cheers, -- Miguel Mendez <flynn@energyhq.es.eu.org> http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 --Signature=_Mon__5_Jul_2004_23_49_21_+0200_vsJl86WihyexhIPO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA6czknLctrNyFFPERAtL5AKCcMhYSIcoL9dOpk9WoaED6NLN4cQCgqnv4 p2noEwEPinJlY9zyNCjKaRo= =iFAA -----END PGP SIGNATURE----- --Signature=_Mon__5_Jul_2004_23_49_21_+0200_vsJl86WihyexhIPO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040705234921.54805a24.flynn>