Registry / crypto / nebulouslabs-fastrand

nebulouslabs-fastrand

JSON →
library0.0.0-20181203155948-6fb6489aac4egogounverified

A cryptographically secure pseudorandom number generator that is faster than crypto/rand.

go get github.com/NebulousLabs/fastrand
INSTALL
IMPORT
SIG · NEBULOUSLABS-FASTR
N
nebulouslabs-fastrand
cryptogov0.0.0-20181203155948-6fb6489aac4e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fastrand
github.com/NebulousLabs/fastrand

Generates a random integer between 0 and 99.

package main import ( "fmt" "github.com/NebulousLabs/fastrand" ) func main() { n := fastrand.Intn(100) fmt.Println(n) }
Debug
Known issues
gotchaImplementation not heavily reviewed by cryptographers; use with caution for security-critical applications.
fix
Consider using crypto/rand for high-security needs.
affects: all
Upgrade
Version history
0.0.0-20181203155948-6fb6489aac4elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
nebulouslabs-fastrand — go get nebulouslabs-fastrand · libregistry