added a XorEnc class.