June 25, 2014

Using the Raspberry Pi's hardware random number generator

Generating random numbers can always be useful, for gaming or more serious cryptographic uses  - and doing so with a Raspberry Pi is quite easy thanks to the inbuilt hardware-based random number generator inside the "system on a chip". Until recently this has been unheard of, but now using this has been documented very well by Walter Anderson in his latest tutorial, which explains not only how to install the required software but also how to generate the numbers in C++ and follows with some demonstrations.

For an interesting counterpoint, we found the following post which was not that positive about true randomness. Nevertheless you can learn how this is done through Walter's interesting website. And for more, we're on facebookGoogle+, and twitter - so follow us for news and product updates as well.

If you're looking for a more permanent way to mount circuitry to your Raspberry Pi, check out our PiBreak - the prototyping board for the Raspberry Pi. It provides labelled breakout pins for all GPIOs, a large prototyping area with solder pads, and power rails for easy power connection:

Furthermore the PiBreak also includes mounting hardware to firmly attach it to your Raspberry Pi using a nut, bolt, and spacer - and is compatible with all revisions of both model A and B Raspberry Pi computers. For more information about our new PiBreak board, our Getting Started guide, and to order - visit the product page

Leave a comment

Comments have to be approved before showing up.