Category: Bendersky

PubSub using channels in Go

The idiomatic way of writing concurrent code in Go is as a collection of goroutines communicating over channels. In my experience, the Publish-subscibe pattern (PubSub) comes up often as a way to structure code. The pattern...

Read More

My Reading Habits

January 02, 2020 at 05:30 Tags Reading In 2019 I’ve finished 63 books, which is a new personal record: I began keeping detailed track of my reading when this blog launched in 2003. In case you’re wondering, the total...

Read More

Diffie-Hellman Key Exchange

This post presents the Diffie-Hellman Key Exchange (DHKE) – an important part of today’s practical cryptography. Whenever you’re accessing an HTTPS website, it’s very likely that your browser and the...

Read More

The Chinese Remainder Theorem

The Chinese Remainder Theorem (CRT) is very useful in cryptography and other domains. According to Wikipedia, its origin and name come from this riddle in a 3rd century book by a Chinese mathematician: There are certain things...

Read More