initial commit

This commit is contained in:
2025-11-21 10:17:42 -05:00
commit 193abbd2ce
2 changed files with 17 additions and 0 deletions

14
forward.go Normal file
View 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

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module git.sunturtle.xyz/zephyr/rand
go 1.24.1