API Reference¶
Complete reference for all CipherToken modules, classes, and methods.
CipherToken is currently a JWT-focused token engine providing key generation, token lifecycle management, async support, and expiry tracking — all powered by Rust. Part of Cipher-Unit.
ciphertoken/
├── CipherToken # Main token engine
├── secret # Key generation (HMAC, RSA)
├── time # Timestamp and TTL helpers
├── utils # Shared constants
├── algorithms # Supported signing algorithms
└── jwt # High-level JWT convenience functions
| Module | Description | API Lookup |
|---|---|---|
CipherToken |
Main class — sync and async methods | ⇗ |
secret |
HMAC secret and RSA key pair generation | ⇗ |
time |
UNIX timestamp and TTL utilities | ⇗ |
utils |
Shared constants | ⇗ |
algorithms |
Algorithm constants | ⇗ |
jwt |
High-level JWT helpers (sync + async) | ⇗ |
New here? Start with the Quick Start.