mathrandhelper

package module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 5 Imported by: 1

README

mathrandhelper

Go Reference

Helpers for Go's math/rand package.

Documentation

Overview

Package mathrandhelper contains math/rand package helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCryptoRand

func NewCryptoRand() *mathrandv2.Rand

NewCryptoRand returns math/rand/v2/Rand instance backed by crypto/rand.

func RandomBuf added in v0.3.0

func RandomBuf(buf []byte)

RandomBuf fills 'buf' with random bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL