Hi,
I'm looking for a two-way cipher to obfuscate URL parameters
safely and succinctly (not too many extra characters).
# For example, something that converts this URL:
$url = 'http://www.foo.com?a=1212u=http://www.foo1.com?a=12323';
# to an encoded URL with the
# For example, something that converts this URL:
$url = 'http://www.foo.com?a=1212u=http://www.foo1.com?a=12323';
# that looks like this:
http://www.foo.com?params=aJHKJHKJHKJHHGHFTDTDGDFDFGDGHDHG879879
Why are you trying to do this? What's the goal here?
xoox,
Nigel Hamilton writes:
http://www.foo.com?params=aJHKJHKJHKJHHGHFTDTDGDFDFGDGHDHG879879
A built-in checksum would be a bonus ... any ideas?
You can use any of the Crypt::CBC ciphers. We then use a modified
MIME::Base64 encoding which is more compact than encrypt_hex
and
# For example, something that converts this URL:
$url = 'http://www.foo.com?a=1212u=http://www.foo1.com?a=12323';
# that looks like this:
http://www.foo.com?params=aJHKJHKJHKJHHGHFTDTDGDFDFGDGHDHG879879
Why are you trying to do this? What's the goal here?
HI,
Hi
( 02.04.18 17:32 -0500 ) Nigel Hamilton:
I'm looking for a two-way cipher to obfuscate URL parameters
safely and succinctly (not too many extra characters).
If you just want to obfuscate, you can do a rot13, with special
substitutions for non alpha charachters. Or any other 'roll
Hello,
JSIf you just want to obfuscate, you can do a rot13, with special
JSsubstitutions for non alpha charachters. Or any other 'roll your own'
JSsolution [XOR against 'snakeoil' then URL encode what needs it].
For simple obfuscation, I would prefer Base64 (using MIME::Base64 in
Perl). It's
Nigel Hamilton wrote:
I'm looking for a two-way cipher to obfuscate URL parameters
safely and succinctly (not too many extra characters).
Try Crypt::CBC.
- Perrin
Hi,
I read about this the other day... lemesee where did I read this...
Oh yes! In Web Security, Privacy and Commerce by Simson Garfinkel,
p. 453-454.
The perl code is on those pages.
Elizabeth
Nigel Hamilton [EMAIL PROTECTED] writes:
Hi,
I'm looking for a two-way cipher to