use transform stream for one direction pipe
The test has passed and the code of stable
updated test file and changed xor to use typed arrays