Commit f549af6f authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

crypto/rand: make documentation consistent between package comment and Reader

Updates #25959

Change-Id: I9ae64b216ab5807718db0db98b32de1dc5fa4bec
Reviewed-on: https://go-review.googlesource.com/119875Reviewed-by: 's avatarRob Pike <r@golang.org>
Reviewed-by: 's avatarFilippo Valsorda <filippo@golang.org>
parent e4a50ce9
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Package rand implements a cryptographically secure // Package rand implements a cryptographically secure
// pseudorandom number generator. // random number generator.
package rand package rand
import "io" import "io"
// Reader is a global, shared instance of a cryptographically // Reader is a global, shared instance of a cryptographically
// strong pseudo-random generator. // secure random number generator.
// //
// On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise. // On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise.
// On OpenBSD, Reader uses getentropy(2). // On OpenBSD, Reader uses getentropy(2).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment