package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ids generates random identifiers from crypto/rand.
Hex returns n random bytes as 2n lowercase hex characters.
HexLen returns exactly length lowercase hex characters.
LowerText returns length lowercase base32 characters (at most 26).
MustHex is Hex for callers with no error path; it panics if the system
random source fails, which crypto/rand treats as unrecoverable anyway.
URL returns n random bytes as unpadded URL-safe base64.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.