How can I implement bitwise operators in Lua language? Specifically, I need a XOR operator/method.
In Lua 5.2, you can use the bit32.bxor function.
bit32.bxor