andrew-d / csmrand

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

Home Page:https://godoc.org/github.com/andrew-d/csmrand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://godoc.org/github.com/andrew-d/csmrand

License:MIT License


Languages

Language:Go 100.0%