random

package
v0.0.0-...-e51908b Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(n int) []byte

Data returns a slice with n random bytes.

func String

func String(n int) string

String returns a string with n random characters. The characters are base on base32 encoding, so string will contain characters from A-Z and digits from 2 to 7.

Types

This section is empty.

Jump to

Keyboard shortcuts

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