digits.txt is the original rand.org file: https://www.rand.org/content/dam/ran...digits.txt.zip
digits1.txt is the stripped version without line numbers and spaces.
AMillionRandomDigits.bin is the result of digits1.txt conversion to binary as a single long decimal number.
This dec2bin conversion always seemed trivial, but yesterday somebody reminded me that we actually don't have an easy to use utility to do that,
and in fact never even tried to verify the claim that digits.bin is a lossless representation of digits.txt.
Well, now I made tools for digits->digits1->digits.bin conversion (both forward and backward) and verified that it works.
The point of this is that compressing digits.bin as is is a futile project,
while digits.txt has 50 bits of _known_ redundancy (column parity),
so there can be more.
Archive includes sources of both utilities and binaries both for windows and linux.
Sources can be compiled on linux by running "sh g" in source directory.
Unfortunately dec2bin utility only can be built for x64 atm, because of __int128 usage.