Suppose you want to list the numbers from 0 to N in such a way that only one bit at…
Continue Readingbits
Looking at the bits of a Unicode (UTF-8) text file
Suppose you type a little text into a text file, say “123”. If you open this file in a hex…
Continue ReadingWhen is round-trip floating point radix conversion exact?
Suppose you store a floating point number in memory, print it out in human-readable base 10, and read it back…
Continue ReadingUsing PractRand to test an RNG
Yesterday I wrote about my experience using NIST STS to test an entropy extractor, a filtering procedure that produces unbiased…
Continue ReadingGolay codes
Suppose you want to sent pictures from Jupiter back to Earth. A lot could happen as a bit travels across…
Continue ReadingHow UTF-8 works
UTF-8 is a clever way of encoding Unicode text. I’ve mentioned it a couple times lately, but I haven’t blogged…
Continue ReadingGoogle Adiantum and the ChaCha RNG
The ChaCha cryptographic random number generator is in the news thanks to Google’s Adiantum project. I’ll discuss what’s going on,…
Continue ReadingEntropy extractor used in μRNG
Yesterday I mentioned μRNG, a true random number generator (TRNG) that takes physical sources of randomness as input. These sources are…
Continue ReadingHow to process the data sent by satellite — working with binary data as a part of PW-Sat2
How to process the data sent by satellite — working with binary data as a part of PW-Sat2Tomasz ŁuczakBlockedUnblockFollowFollowingJan 16Over a year ago…
Continue ReadingA dive into Binary Digits and implementing it with Ruby
Well with all of the graphics we have and what these machines have to run, we need it. Our computers…
Continue ReadingReversing an n-bit number in O(log n)
In each iteration of the mask update, all blocks are shifted left by half their size..When a block is XORed…
Continue ReadingRuby, RVM, and Bundler Demystified
Like any train locomotive, it needs tracks on which to travel (Ruby runtime), some form of energy bits (Ruby gems,…
Continue Reading