mirror of
https://github.com/safing/portbase
synced 2026-05-01 21:21:23 +00:00
Revamp crypto/random to feature a feedable CSPRNG
This commit is contained in:
parent
c9f41a65af
commit
9618ae8f5e
14 changed files with 994 additions and 37 deletions
7
crypto/random/doc.go
Normal file
7
crypto/random/doc.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// Package random provides a feedable CSPRNG.
|
||||
//
|
||||
// CSPRNG used is fortuna: github.com/seehuhn/fortuna
|
||||
// By default the CSPRNG is fed by two sources:
|
||||
// - OS RNG
|
||||
// - Entropy gathered by context switching
|
||||
package random
|
||||
Loading…
Add table
Add a link
Reference in a new issue