{"id":6863,"date":"2018-01-03T15:32:00","date_gmt":"2018-01-03T20:32:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=6863"},"modified":"2018-01-03T15:52:05","modified_gmt":"2018-01-03T20:52:05","slug":"lava-lamps","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=6863","title":{"rendered":"Lava Lamps"},"content":{"rendered":"<p> If you&rsquo;re a geek with an interest in cryptography, you know that one of the hardest problems in <i>practical<\/i> cryptography is random number generation. A weak PRG (pseudorandom number generator) is one of the surest ways to get a cryptographic protocol compromised. Most PRGs depend on random events such as mouse activity, disk latency, and other such non-deterministic events to seed the PRG with the required randomness. <\/p>\n<p> You may also know that <a href=\"https:\/\/en.wikipedia.org\/wiki\/Lava_lamp\">lava lamps<\/a>, that refuge from the 1960s, can also <a href=\"https:\/\/en.wikipedia.org\/wiki\/Lavarand\">produce random numbers<\/a><sup><a id=\"fnr.1\" class=\"footref\" href=\"#fn.1\">1<\/a><\/sup> but if you&rsquo;re like me, you&rsquo;ve probably always considered that a (geek) cocktail party factoid of no particular use. It turns out I couldn&rsquo;t have been more wrong. Cloudflare, which handles about 10% of international Internet Web traffic, <a href=\"https:\/\/www.atlasobscura.com\/places\/encryption-lava-lamps\">uses lava lamps to generate their random numbers<\/a>. They have a wall with over 100 lava lamps that are busily bubbling away. A video camera captures the action and sends it to a computer for conversion into random numbers. This is an elegant and relatively low cost way of producing the large amount of random numbers that an operation like Cloudflare requires. <\/p>\n<p> Oddly, the 53 year old fad remains strong to this day and you can still <a href=\"https:\/\/www.amazon.com\/Lava-Original-16-3-Inch-Silver-Yellow\/dp\/B001MWSVP6\/ref=sr_1_4\/146-5866729-1867314?ie=UTF8&amp;qid=1515008988&amp;sr=8-4&amp;keywords=Lava+Lamps+For+Sale\">get a lava lamp<\/a>. It makes me wonder what the Hippies would have thought of their beloved lava lamps being used as an integral part of computer communications. <\/p>\n<div id=\"footnotes\">\n<h2 class=\"footnotes\">Footnotes: <\/h2>\n<div id=\"text-footnotes\">\n<div class=\"footdef\"><sup><a id=\"fn.1\" class=\"footnum\" href=\"#fnr.1\">1<\/a><\/sup> <\/p>\n<div class=\"footpara\">\n<p class=\"footpara\"> If you&rsquo;re interested in the details, <a href=\"https:\/\/gist.github.com\/UnquietCode\/99b69b99e00ce52e34c1\">here&rsquo;s a nice explanation<\/a>. It&rsquo;s a lot simpler than you might think. <\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you&rsquo;re a geek with an interest in cryptography, you know that one of the hardest problems in practical cryptography is random number generation. A weak PRG (pseudorandom number generator) is one of the surest ways to get a cryptographic &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=6863\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[3],"class_list":["post-6863","post","type-post","status-publish","format-standard","hentry","category-general","tag-security"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6863"}],"version-history":[{"count":2,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6863\/revisions"}],"predecessor-version":[{"id":6865,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6863\/revisions\/6865"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}