<p dir="auto"><a href="https://golang.org/pkg/crypto/rand/" rel="nofollow">https://golang.org/pkg/crypto/rand/</a><br>
The last example, <code class="notranslate">Read</code> prints an error upon running.</p>
<p dir="auto">I don't see anything wrong with the example code, though I don't play with this package much.</p>
<p dir="auto">out:<br>
<code class="notranslate">error: read /dev/urandom: Invalid argument</code></p>
<p dir="auto">Screenshot:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2741356/10922467/1eea9f72-8230-11e5-8761-638888c0d51a.png"><img width="787" alt="screen shot 2015-11-03 at 1 33 19 pm" src="https://cloud.githubusercontent.com/assets/2741356/10922467/1eea9f72-8230-11e5-8761-638888c0d51a.png" style="max-width: 100%;"></a></p>
<p dir="auto">Wish I could be more help :/</p>
<p dir="auto">Sarah</p>
<p dir="auto">by <strong>fgergo</strong>:</p>
<pre class="notranslate">On <a href="http://golang.org/pkg/crypto/rand/#Prime" rel="nofollow">http://golang.org/pkg/crypto/rand/#Prime</a> click Example then click Run.

What is the expected output?
10 cryptographically secure pseudorandom numbers

What do you see instead?
error: permission denied
Program exited.

Which operating system are you using?
Chrome (25.0.1364.172) and firefox (19.0.2) on windows 7, though it probably does not
matter.</pre>