[−][src]Module bundled_crypto::token::paseto::v1::local
The PASETO version one protocol. Implementation of the PASETO version 1, opaque token.
Modules
error |
Structs
AuthKey | A newtype struct differentiating the auth and encryption keys. |
EncryptionKey | A newtype struct differentiating the auth and encryption keys. |
Constants
HEADER | The agglomerated [ |
PURPOSE | The purpose string for this protocol. |
VERSION | The version string for this protocol. |
Functions
decrypt | Decrypts, decodes, and unpacks a [ |
encrypt | Encrypts, encodes, and packs a [ |
split_key | Takes the nonce and a static key, creating the auth and encrpytion keys. |