GitHub - sdrapkin/fcrand: ⚡fcrand is a drop-in, high-performance alternative to Go "crypto/rand", providing cryptographically secure random bytes up to 10x faster.
⚡fcrand (fast crypto rand)
fcrand is a high-performance drop-in replacement for Go's crypto/rand.By Stan Drapkin.
Usage
Find "crypto/rand" imports in your Go code
Add a blank identifier _ in front: _ "crypto/rand"
Add rand "github.com/sdrapkin/fcrand"
Features
Up to 10x faster for random data requests ≤512 bytes
Maintains all cryptographic security guarantees of crypto/rand
100% API compatible with crypto/rand – true drop-in replacement
Thread-safe with zero configuration (same as crypto/rand)
⚙...
Read more at github.com