You can use XOR and the bit rotate functions if you need an extremely simple scheme. Take your number and XOR it with a magic munber, and then maybe rotate it using the bit rotate functions.
I know that these are extremely weak ideas. They will keep out the casual observer, but will not stop a determined hacker