Documentation
¶
Overview ¶
Package randomtoken supplies bounded cryptographically random opaque values. Encoded tokens use secret.String; revealing one for transmission is explicit.
Index ¶
Constants ¶
View Source
const MaxBytes = 4096
Variables ¶
This section is empty.
Functions ¶
func Bytes ¶
Bytes returns independent entropy, with size in [1, MaxBytes]. Unlike encoded tokens these raw bytes have no automatic formatting redaction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.