M
Michael W. Ryder
I have looked in the documentation and can't find a way to XOR two
strings. I want to use this to obfuscate an identifier in a database so
that it can't be read. In the language I have used for over 20 years I
just say A$=XOR(B$,C$) to get this result. In Ruby I expect it would be
something like a = string1.xor(string2). Obviously this does not work,
but is there another way short of converting everything to numbers,
using the ^ operator on them, and then converting the result back to a
string?
strings. I want to use this to obfuscate an identifier in a database so
that it can't be read. In the language I have used for over 20 years I
just say A$=XOR(B$,C$) to get this result. In Ruby I expect it would be
something like a = string1.xor(string2). Obviously this does not work,
but is there another way short of converting everything to numbers,
using the ^ operator on them, and then converting the result back to a
string?