[OT] Encrypting Embedded URLs

2002-04-18 Thread Nigel Hamilton
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

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Andy Lester
# 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,

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Rob Nagler
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

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Nigel Hamilton
# 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,

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread John Saylor
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

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Andrew Ho
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

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Perrin Harkins
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

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Elizabeth Barham
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