xorstream
Utility for transforming an input stream to an output stream.
As an installed executable, takes a vector of 4, 5, or 6 bit wide (hex, 32, 64) which then pipes from stdin to stdout.
As a dependency it exposes a Transformer
and an XorIter
. Transformer takes a vector of bytes and a readable. The Transformer is intoiterable.
Installing with x86_64-unknown-linux-musl
(for example) can increase the rate it occurs greatly.
Example:
$ yes 0 | cargo run --release --target x86_64-unknown-linux-musl -- -4 714b
This pipes AAAAAAAAAAAAAAAAAAAAA
infinitely to stdout.