Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implemented LFSR generator (with tests and CLI) #27
This PR introduces a new LFSR-based generator. An LFSR (Linear Feedback Shift Register) will generate a non-repeating pseudo-random sequence of integers, that is bounded between 1 and a power of 2.
The changes add a new generator, that takes a
To use the generator from the CLI:
As an example of the usefulness of the generator, I have hidden 520KB of random data in the same picture with two different generators:
The result of running the
The result of running the same tool on the image created with the
While the results are not perfect, I believe that using the LFSR generator provides an extra layer of discretion.
For more information on LFSR: Link