Hello,
when i use
RNG_test stdin < test.txt
i get the error "“error reading standard input”.
I am using Windows 10.
I have tested it with several versions (including 0.95 merge to 0.94).
In earlier versions i dont get the error message, instead it crashes.
Can someone help or maybe tell me what i have to patch in sources?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-
2020-08-23
That probably means it ran out of input while reading from stdin. That's pretty normal. Realize that by default, PractRand tries to test 32 terabytes, and I very much doubt test.txt is 32 terabytes. Try making sure that test.txt is at least a few kilobytes long, then run PractRand with the command-line option "-tlmin 1kb" - that will tell PractRand to start displaying results after just 1 kilobyte.
Last edit: 2020-08-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
when i use
RNG_test stdin < test.txt
i get the error "“error reading standard input”.
I am using Windows 10.
I have tested it with several versions (including 0.95 merge to 0.94).
In earlier versions i dont get the error message, instead it crashes.
Can someone help or maybe tell me what i have to patch in sources?
Thanks!
That probably means it ran out of input while reading from stdin. That's pretty normal. Realize that by default, PractRand tries to test 32 terabytes, and I very much doubt test.txt is 32 terabytes. Try making sure that test.txt is at least a few kilobytes long, then run PractRand with the command-line option "-tlmin 1kb" - that will tell PractRand to start displaying results after just 1 kilobyte.
Last edit: 2020-08-23
Thanks, this works!
rng_test stdin < encrypted.txt -tlmin 1KB