DEV Community

Cover image for Lava lamps securing the Web?🤷‍♂️
Leo Antony
Leo Antony

Posted on

Lava lamps securing the Web?🤷‍♂️

computer generates random number to be used for encryption key, The more random they are the more secure.computer are made to provide predictable output based on given inputs so it isn't suitable for generating encryption key.Nowadays computers have secure lib that provide CSPRNG(Cryptographically-secure pseudorandom number generator) So it's suitable for using as key.

computers can also be fed with real word random data because events in the physical world are unpredictable and one of the sources of randomness cloudflare uses is Lava Lamps.
lava lamps encrypt the web

Cloudflare have about 100 lava lamps with camera pointed to them and at regular interval they take pictures and send them to cloudflare servers. Images are stored as series of numbers with each pixel having its value ,So each images becomes a string of total random numbers .This becomes their base to encrypt the internet.

Cryptographic seed - the data that a CSPRNG program starts with for generating random data.

*CSPRNG **needs **seed *(cryptographic seed) as a starting point from which to produce more random data.Clouflare uses a CSPRNG to generate random key with data collected from lava lamps as the seed.

that's it for this blog , see you next time with more interesting stuff...

Top comments (0)