[PHP-DEV] Re: modified base64

2002-04-10 Thread Jim Winstead

Marcus Boerger [EMAIL PROTECTED] 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

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: modified base64

2002-04-10 Thread Marcus Börger

At 19:22 10.04.2002, Jim Winstead wrote:
Marcus Boerger [EMAIL PROTECTED] 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.

I wanted to mark that it is nearly the same.

you forgot
rfc1341: http://www.fourmilab.ch/webtools/base64/rfc1341.html
jim

Yes :-)


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php