cryptoutil

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultIDBits = 256
)

Functions

func MustRandomID

func MustRandomID(bits int) string

func MustRandomUint64

func MustRandomUint64() uint64

func RandomID

func RandomID(bits int) (string, error)

func RandomUint64

func RandomUint64() (uint64, error)

func TruncateID

func TruncateID(id string, bits int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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