mirror of
https://github.com/jimeh/rands.git
synced 2026-02-19 11:26:38 +00:00
feat(rands): initial implementation
This commit is contained in:
11
rands.go
Normal file
11
rands.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Package rands provides a suite of functions that use crypto/rand to generate
|
||||
// cryptographically secure random strings in various formats, as well as ints
|
||||
// and bytes.
|
||||
//
|
||||
// All functions which produce strings from a alphabet of characters uses
|
||||
// rand.Int() to ensure a uniform distribution of all possible values.
|
||||
package rands
|
||||
|
||||
import "errors"
|
||||
|
||||
var errBase = errors.New("rands")
|
||||
Reference in New Issue
Block a user