4 ms·
"[...] with this kind of programming what's nice is that you can encrypt/decrypt millions of strings from /dev/urandom [...]" How many of those pseudorandom st
by rw 18y ago
"[...] with this kind of programming what's nice is that you can encrypt/decrypt millions of strings from /dev/urandom [...]"
How many of those pseudorandom strings are you able to compress, in general?
- antirez 18y agoMost of this random strings will "globally" enlarge, but will locally compress. For example sequences of compressible subsequences of two-three bytes are very frequent. The remaining data that can't be compressed will stress the other code that emits verbatim uncompressed sequences. To stress more the compression with valid sequences it's possible to use a very big HTML file and get ranges at random instead to get this strings from /dev/urandom