Skip to content

A high performance, cryptographically secure pseudorandom number generator built from ChaCha20. [No security guarentees offered].

License

Notifications You must be signed in to change notification settings

tmthrgd/go-rand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-rand

GoDoc Build Status

A cryptographically secure pseudo-random number generator built from ChaCha20.

There are no security guarantees offered.

Benchmark

BenchmarkCryptoRand-8   	      20	  63222315 ns/op	  16.59 MB/s	[crypto/rand]
BenchmarkMathRand-8     	     500	   2572662 ns/op	 407.58 MB/s	[math/rand]
BenchmarkReader-8       	    2000	    777531 ns/op        1348.60 MB/s	[tmthrgd/go-rand - AVX only]

License

Unless otherwise noted, the go-rand source files are distributed under the Modified BSD License found in the LICENSE file.

About

A high performance, cryptographically secure pseudorandom number generator built from ChaCha20. [No security guarentees offered].

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages