Hacker News new | ask | show | jobs
by somebodynew 1474 days ago
The detector is a Geiger tube. There are more details on the GitHub page [0], including this note:

> Disclaimer: the radioactivity from the bananas doesn't quite make the difference, the background radiation is more than enough to make the generator work and afaik the banana's is not even detectable.

[0] https://github.com/valerionew/Banana-Random-Number-Generator

1 comments

> afaik the banana's is not even detectable

So they might just as well have used salt? AFAIK that is best practice. :)

Potassium Chloride is sold as a sodium-free table salt substitute and will give you far more decay events per second than a banana. I'd have to double check the decay rate in a kilo of KCl vs background radiation, but even if the decay rate is too low for random number generation you can still use it to salt your hashes[0].

[0] https://www.allrecipes.com/gallery/best-hash-recipes/

KCl is definitely detectable. And the same goes for KOH. And it significantly increases the throughput.
>you can still use it to salt your hashes

Nice.