Skip to main content

Module paseto

Module paseto 

Source
Expand description

PASETO (Platform-Agnostic Security Tokens) v4 implementation.

Provides local (symmetric, encrypted) PASETO v4 token operations as a secure alternative to JWT.

Structs§

PasetoConfig
Configuration for PASETO token operations.
PasetoLocalManager
PASETO v4.local token manager (symmetric encryption).
PasetoToken
Decoded PASETO token payload.

Functions§

generate_local_key_hex
Generate a new random 32-byte key for PASETO v4.local, returned as hex.