Ever wondered how random numbers are generated algorithmically

Arpit Bhayani

Arpit Bhayani

Feb 21, 2022 • 1 min read


Ever wondered how random numbers are generated algorithmically? Here’s one of the fastest algorithms to do it.

Essay #73: Pseudo-random Number Generation using LFSR

In this quick 8 minute read, we go through LFSR in-depth, see how simple it is to build one in Golang, and see a few of its applications.

The link to the essay is: https://lnkd.in/gi6cA8zN You can also find the source code of an LFSR at: https://lnkd.in/gYHX2KNu

This is the 73rd essay, and I have regularly published it since Jan 3rd, 2020. If you are interested in CS Engineering in general, do subscribe to my newsletter and get the essay delivered to your inbox.

2900+ engineers have been reading my newsletter; go check it out at arpit.substack.com

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses