package sysrand
Import Path
crypto/internal/sysrand (on go.dev)
Dependency Relation
imports 10 packages, and imported by 3 packages
Involved Source Files
Package rand provides cryptographically secure random bytes from the
operating system.
rand_getrandom.go
Package-Level Functions (only one)
Read fills b with cryptographically secure random bytes from the operating
system. It always fills b entirely and crashes the program irrecoverably if
an error is encountered. The operating system APIs are documented to never
return an error on all but legacy Linux systems.
![]() |
The pages are generated with Golds v0.7.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |