[EMAIL PROTECTED] wrote:
Anyone have a good function for byte-by-byte XOR of text or varchar data (or does one exist already in pg which I missed in the documentation)?
~Berend Tober
You should have a look at pg_crypt which offers a wider range of cryptographic functions for postgres. I dont think there is a xor yet, but otoh, xor is inherently insecure if its cryptography you are trying.
However you might be able to use the examples to write your own XOR function or use one of the other language modules to do so.
HTH Tino Wildenhain
---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster