Documentation ¶ Overview ¶ Package random holds crypto/rand wrappers. Index ¶ func Must(n int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Must ¶ func Must(n int) string Must returns a URL-safe base64 string (no padding) encoding n bytes from crypto/rand. Panics on rand read failure (bubbles up to the top-level recoverer). Used for OIDC state/nonce/PKCE-verifier values where padding would break URL embedding. Types ¶ This section is empty. Source Files ¶ View all Source files random.go Click to show internal directories. Click to hide internal directories.