Skip to content
New issue

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

crypto/rsa: GenerateKey documentation doesn't explain what the random parameter is for #6850

Closed
gopherbot opened this issue Nov 29, 2013 · 4 comments

Comments

@gopherbot
Copy link

by alex.gaynor:

http://golang.org/pkg/crypto/rsa/#GenerateKey

The documentation doesn't explain what this parameter is for, leaving a developer to
guess. Guessing is not a good thing to be doing when using cryptography. Ideally it
would include an example which showed a secure usage (which I assume is using
/dev/urandom, but really I'm just guessing, the docs don't say!)
@dsymonds
Copy link
Contributor

dsymonds commented Dec 2, 2013

Comment 1:

Labels changed: added priority-soon, documentation, removed priority-triage.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 2:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 3:

Labels changed: added repo-main.

@minux
Copy link
Member

minux commented Feb 13, 2014

Comment 4:

This issue was closed by revision 9abe6d9.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants