Documentation
¶
Overview ¶
Package identifier generates opaque identifiers from checked entropy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEntropy = errors.New("loom identifier entropy failure")
ErrEntropy identifies failures to obtain all bytes required for an identifier.
Functions ¶
func Base64 ¶
Base64 reads size bytes from reader and returns their unpadded URL-safe base64 encoding.
func MustBase64 ¶
MustBase64 returns an identifier made from operating-system entropy. It panics if the operating system cannot provide all required bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.