Can be found here: http://elhalf.com/xorcrypt.txt
Sample code: http://elhalf.com/Xor.java