Re: modified base64

From: Date: Wed, 10 Apr 2002 17:22:33 +0000
Subject: Re: modified base64
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-82484@lists.php.net to get a copy of this message
Marcus Boerger <marcus.boerger@t-online.de> wrote: > After (v)spprintf i have another modified function here: base64url_(en|de)code > > I sometimes transmit binary data or thinks like session ids over http. when > using base64 the problem is in the chars '+', '/' and '='. So i > changed base64 > to use '-', '_' and '!' instead. interesting thought, but then that isn't base64 encoding. you forgot rfc1341: http://www.fourmilab.ch/webtools/base64/rfc1341.html jim

« previous php.dev (#82484) next »