xor library, preparations for implementing decoding correction filters (not implemented yet)