An Arduino library for reading and debiasing input from a hardware random number bit generator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


##Arduino Random Library

###Author Derek Chafin
Version: 1.5
Modified: October 24, 2012
Project Page: Arduino Hardware Random Number Generator

###Attribution Original RNG circuit and code by Rob Seward 2008-2009
Project Page:
License: Creative Commons Attribution-NonCommercial 2.5 Generic License

###Description A library for reading and de-biasing input from a hardware random bit generator. This library reads output from a random bit generator using the ADC on the Arduino. Uses avalanche breakdown from a reversed biased transistor to create quantum noise fluctuations. The noise is amplified and then read as an analog voltage on the Arduino. It has two bias removal methods, exclusive or (XOR) and Von Neumann code, as well the option for no bias removal at all.

###License This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
To view a copy of this license, visit