I dont see any portability issues with a standard XOR 'encryption', but its not not much of an encryption.
In this case you have the decryption algorythm distributed with your code, so even if I didn't recognise how you encrypted it, it wouldn't take much to run the included de-crypter with some modifications to see the original code.
Interesting idea though...