From: Daniel DeLorme Date: 2007-01-29T17:29:19+09:00 Subject: Re: "a string".xor("another string") Erik Veenstra wrote: > You're padding the shortest string with low values. When using > XOR to encrypt a string (my goal...), uh, you're not encrypting > most of the data: If you want to encrypt the data, maybe you should use actual cryptographic functions? "a string".crypt("another string") That's probably more secure than a homegrown xor function Daniel