From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan-Benedict Glaw Subject: Re: Basic C encryption Date: Tue, 8 Jul 2003 16:48:23 +0200 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20030708144822.GF20605@lug-owl.de> References: <20030708144117.GD20605@lug-owl.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Return-path: Content-Disposition: inline In-Reply-To: List-Id: To: linux-c-programming@vger.kernel.org --iBwuxWUsK/REspAd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 2003-07-08 08:33:33 -0600, Fabio Miranda Hamburger wrote in message : > > On Tue, 2003-07-08 08:13:13 -0600, Fabio Miranda Hamburger > > wrote in message : > > > For example, add +1 to each character that is about to be saved in the > > > disk. How would that be? > > > > Dumb. >=20 > How to add the value to the ascii code of the char and no to the value > itself? Isn't that more or less the same? You've got 8 bits in a row and want to add 1. Ever noted that with ASCII characters, one follows the other? MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA)); --iBwuxWUsK/REspAd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Ctm2Hb1edYOZ4bsRAq2wAJ0REnGZXw5E6DCW09UaYvxN+Ql1nQCdFzwS 7I2HfDRw7tX48u47fIXlmYk= =dhdb -----END PGP SIGNATURE----- --iBwuxWUsK/REspAd--