package
Version:
v0.5.3
Opens a new window with list of versions in this module.
Published: Apr 18, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package token provides secure token generation and hashing utilities.
Generate creates a cryptographically secure random token.
Returns a 64-character hex string (32 random bytes).
Hash returns the hex-encoded SHA-256 hash of a token string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.