add XorMasker factory function, adjust README