cryptoiter

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

cryptoiter defines iterator source/collector that corresponds to std `crypto/*`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandBytes

func RandBytes(size int) iter.Seq[[]byte]

RandBytes returns an iterator over pseudo-random n bytes long slice. The buffer which the iterator returns is reused and should not be retained by the callers. Callers should explicitly clone the slice by [mapper.Clone] if needed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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