Hello,

JS>If you just want to obfuscate, you can do a rot13, with special
JS>substitutions for non alpha charachters. Or any other 'roll your own'
JS>solution [XOR against 'snakeoil' then URL encode what needs it].

For simple obfuscation, I would prefer Base64 (using MIME::Base64 in
Perl). It's simple, fast, standard, results in string totally composed
from a well known character set that needs little further encoding, and
well known with implementations in just about any language. You don't need
to do anything special for non-alphanumeric characters, either (or indeed,
for 8-bit data, which is the whole point of Base64 encoding).

Humbly,

Andrew

----------------------------------------------------------------------
Andrew Ho               http://www.tellme.com/       [EMAIL PROTECTED]
Engineer                   [EMAIL PROTECTED]          Voice 650-930-9062
Tellme Networks, Inc.       1-800-555-TELL            Fax 650-930-9101
----------------------------------------------------------------------

Reply via email to