token

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSecureBase64Token

func GenerateSecureBase64Token(byteLength int) (string, error)

GenerateSecureBase64Token generates a URL-safe, base64-encoded token with `byteLength` bytes of entropy. The resulting string length will be approximately `4 * byteLength / 3`.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL