cryptoiter

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 4 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 [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