initial commit
This commit is contained in:
14
forward.go
Normal file
14
forward.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package rand
|
||||
|
||||
import (
|
||||
"crypto/rand"
|
||||
"io"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
func Int(r io.Reader, max *big.Int) (n *big.Int, err error) { return rand.Int(r, max) }
|
||||
func Prime(r io.Reader, bits int) (*big.Int, error) { return rand.Prime(r, bits) }
|
||||
func Read(b []byte) (int, error) { return rand.Read(b) }
|
||||
func Text() string { return rand.Text() }
|
||||
|
||||
var Reader = rand.Reader
|
||||
Reference in New Issue
Block a user