<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Write a program that generates man random numbers from 0-1. &nbsp;0 is black pixel and 1 is white. &nbsp;Write a large XPM image with that.</div><div>When you are done look at the image. &nbsp;Do you see any patterns?</div><div><br data-mce-bogus="1"></div><div>I did that with an Arduino a few years back when I was playing with one and my daughter asked if she could stay up later. &nbsp;I quickly wrote a program that would blink a LED from fast to slow and then off for no and on for yes. &nbsp;If went off, she went to bed. &nbsp;I then thought "how fair was it?"</div><div><br data-mce-bogus="1"></div><div>There are also a test suite you can run against numbers it generates to test randomness.</div><div><br data-mce-bogus="1"></div><div>There are issues with getting enough entropy for hostapd. &nbsp;It would complain about this. &nbsp;I loaded haveged and that solved that. &nbsp;Would that solve the ssh key issue?</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Alex Carver" &lt;agcarver+ale@acarver.net&gt;<br><b>To: </b>ale@ale.org<br><b>Sent: </b>Thursday, December 3, 2015 10:53:11 AM<br><b>Subject: </b>Re: [ale] RasPI random numbers<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">On 2015-12-03 04:51, Boris Borisov wrote:<br>&gt; http://www.theregister.co.uk/2015/12/02/raspberry_pi_weak_ssh_keys/<br>&gt; <br>&gt; some /dev/urandom stuff here:<br>&gt; <br>&gt; http://www.2uo.de/myths-about-urandom/<br><br>Good thing I'm still on wheezy I suppose. &nbsp;For some reason it managed to<br>seed at start. &nbsp;I wonder how that got dropped in the transition.<br><br>Strangely, though, /dev/urandom by default is not fully reseeded when<br>the Pi is being used in a server mode and no real mention of that is<br>made. &nbsp;The entropy stays very low. &nbsp;I had to install rng-tools to have<br>the hardware RNG hooked to /dev/urandom to boost the entropy while running.<br><br><br>_______________________________________________<br>Ale mailing list<br>Ale@ale.org<br>http://mail.ale.org/mailman/listinfo/ale<br>See JOBS, ANNOUNCE and SCHOOLS lists at<br>http://mail.ale.org/mailman/listinfo<br></blockquote></div></div></body></html>