We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read
https://golang.org/pkg/crypto/rand/ The last example, Read prints an error upon running.
I don't see anything wrong with the example code, though I don't play with this package much.
out: error: read /dev/urandom: Invalid argument
error: read /dev/urandom: Invalid argument
Screenshot:
Wish I could be more help :/
Sarah
The text was updated successfully, but these errors were encountered:
It is a playground restriction. Duplicate of #5096.
The same call must work fine on your own machine.
Sorry, something went wrong.
This is related to issue #5096
ah, thx @rakyll . yep it works fine on my box
No branches or pull requests
https://golang.org/pkg/crypto/rand/
The last example,
Read
prints an error upon running.I don't see anything wrong with the example code, though I don't play with this package much.
out:
error: read /dev/urandom: Invalid argument
Screenshot:
Wish I could be more help :/
Sarah
The text was updated successfully, but these errors were encountered: