Added functionnal XOR encryption.