News for hackers. Stuff that matters.
Re:Fast base64 encoding and decoding by _wmd on Wednesday January 17, 2018 @07:44PM (#16173609)
My data wasn't quite random! It repeats every 1kb, much smaller than zlib's window size (which is I think 16kb)
Re:Fast base64 encoding and decoding by nkurz on Wednesday January 17, 2018 @09:16PM (#16174095)
A good rule-of-thumb might be that if your results show that you able to consistently compress supposedly random data to less than the size required for just the random binary bits, you should either recheck your numbers, verify your random number generator, or quickly file for a patent!
Re:Fast base64 encoding and decoding by jmiserez on Thursday January 18, 2018 @04:24AM (#16175785)
You should add googling “Shannon” “entropy” and “information theory” to that list ;-)