package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev

# Functions

CryptoToken returns a crypthographically secure token string encoding nbytes random bytes.
CryptoTokenBytes returns a crypthographically secure token of nbytes random bytes.
RandomDuration returns a random duration up to the given length.
RandomKernelUUID will return a UUID from the kernel's procfs API at /proc/sys/kernel/random/uuid.
RandomString returns a random string of length length.

# Variables

Re-exported from math/rand for streamlining.
Re-exported from math/rand for streamlining.
Re-exported from math/rand for streamlining.