<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 25, 2014 at 9:50 PM, George Larson <span dir="ltr"><<a href="mailto:george.g.larson@gmail.com" target="_blank">george.g.larson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">curl -s<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline">
...</div></blockquote><div><br><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline">Oh, sorry. If it can't be more than 20 chars then:<br><br>curl -s '<a href="https://www.random.org/strings/?num=25&len=20&digits=on&loweralpha=on&upperalpha=on&unique=on&format=plain&rnd=new" target="_blank">https://www.random.org/strings/?num=25&len=20&digits=on&loweralpha=on&upperalpha=on&unique=on&format=plain&rnd=new</a>' | head -$(( (RANDOM % 25)+1 )) | tail -1<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline">We're using '<a href="http://random.org">random.org</a>' which uses atmospheric noise to do randomness. We grab more lines than needed (i.e., 25) then we list the first X (pseudorandom from shell) and then take the last one of those.<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline">Basically, it's what I described here: [ <a href="http://j0rg3.insomnia247.nl/weblog/2014/03/18#20140318.random.data">http://j0rg3.insomnia247.nl/weblog/2014/03/18#20140318.random.data</a> ]<br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline"></div> </div></div><br><br><br clear="all"><br>-- <br><div dir="ltr"><div><div><br>-= <a href="http://j0rg3.com" target="_blank">c0d3 :: j0rg3 - all code, no cruft</a> =-<br>
</div><br> -<a href="https://keybase.io/j0rg3" target="_blank"> send me a private message</a> -<br></div></div>
</div></div>