Categorygithub.com/andrew-d/csmrand
repositorypackage
0.2.0
Repository: https://github.com/andrew-d/csmrand.git
Documentation: pkg.go.dev

# README

csmrand

Go Reference Build Status

Golang's math/rand backed onto crypto/rand's CSPRNG.

This package provides an implementation of Go's math/rand API that is backed by the CSPRNG in crypto/rand. This allows using the nicer API from math/rand, but still ensuring that the random number source is cryptographically-secure. See the documentation for more details.