I'm reading binary data from a(two) file(s)(.txt), after performing a logical operation(XOR),writing output to another file(.txt)(using file sink). After I execute the flow graph, and open the file, it shows something like corrupted word document.please help me deal with it.
Asked
Active
Viewed 1,001 times
-2
-
What are you trying to achieve? What do you think would happen? And: Can you describe what you think the XOR function does? – Marcus Müller Jun 13 '15 at 08:58
1 Answers
0
XOR
ing two printable character bytes may lead to unprintable characters. So your text editor may not be able to open it properly. Try to open the file with a hex editor like hexdump
or okteta
.

Manos
- 2,136
- 17
- 28