Excellent idea. If you need an X(n)OR function in the meantime, try this:

$eCode=chr((asc($sCode) & $iEncrypt) | (255-(asc($sCode) | $iEncrypt)))

if Z = A xor B then $eCode = $sCode xor $iEncrypt.

cj

[This message has been edited by cj (edited 01 May 2001).]