Banana random number generator part 2: chi-squared, ent, timers, interrupts

Read the first part here. In the previous post we addressed the basic concepts of the generator, leaving open the question of the bad chi-square. Before delving into the reasons for the bad result, it is necessary to understand what this value is and how randomness is “extracted” from a radiation event. Let’s start by … Leggi tutto “Banana random number generator part 2: chi-squared, ent, timers, interrupts”

Generating true random numbers from bananas

It was a dreary afternoon in Milan last year when, procrastinating on studying, I was struck by a flash of genius. “What would happen if I made a banana-powered random number generator?“. I immediately went to tell my roommate, who was also an electronic engineer.He looked me in the face and burst out laughing. At … Leggi tutto “Generating true random numbers from bananas”

Banana random number generator: chi-quadro, ent, i timer e gli interrupt

Nel precedente post [1] abbiamo affrontato i concetti di base del generatore, lasciando aperto l’interrogativo del pessimo chi-quadro. Prima di addentrarci nelle ragioni del cattivo risultato, è necessario comprendere che cosa è questo valore e come la casualità viene “estratta” dall’evento di una radiazione.  Partiamo dal capire cos’è e come funziona il chi-quadro (indicato anche con … Leggi tutto “Banana random number generator: chi-quadro, ent, i timer e gli interrupt”

BRNG: generare numeri casuali a partire dalle banane

Era un uggioso pomeriggio milanese dello scorso anno quando, procrastinando lo studio, venni colpito da un lampo di genio. “Cosa succederebbe se facessi un generatore di numeri casuali alimentato a banane?“. Preso dall’idea andai subito a raccontarla al coinquilino anch’esso elettronico. Lui mi guardò in faccia e scoppiò a ridere. In quel momento capii che … Leggi tutto “BRNG: generare numeri casuali a partire dalle banane”