github.com/awnumar/fastrand
Package fastrand implements a cryptographically secure pseudorandom number generator. The generator is seeded using the system's default entropy source, and thereafter produces random values via repeated hashing. As a result, fastrand can generate randomness much faster than crypto/rand, and generation cannot fail beyond a potential panic at init. The method used in this package is similar to the Fortuna algorithm, which is used in used in FreeBSD for /dev/urandom. This package uses techniques that are known to be secure, however the exact implementation has not been heavily reviewed by cryptographers.
proxy.golang.org
v0.0.0-20210315215012-30ee0990fa2d
about 5 years ago
1
7
3
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/awnumar/fastrand
spec |
| License | MIT |
| Namespace | github.com/awnumar |
| First Release | about 5 years ago |
| Last Synced | 29 days ago |
Repository
| Stars | 155 on GitHub |
| Forks | 10 on GitHub |