Crates.io | rustywt |
lib.rs | rustywt |
version | 0.1.0 |
source | src |
created_at | 2024-10-26 14:57:10.405855 |
updated_at | 2024-10-26 14:57:10.405855 |
description | A simple JWT (JSON Web Token) crate implemented in Rust, focusing on the HS256 (HMAC SHA-256) algorithm. |
homepage | https://github.com/joaoprado-rs/rustywt |
repository | https://github.com/joaoprado-rs/rustywt |
max_upload_size | |
id | 1423920 |
size | 19,069 |
A simple JWT (JSON Web Token) crate implemented in Rust, focusing on the HS256 (HMAC SHA-256) algorithm. This crate allows you to create and sign JWTs without relying on external JWT crates, providing an educational insight into the inner workings of JWTs and cryptographic signing in Rust.
Features
Prerequisites
Installation
Usage
Project Structure
Contributing
License
Acknowledgments
JWT Generation: Create JSON Web Tokens with custom headers and payloads.
HS256 Signing: Sign tokens using the HMAC SHA-256 algorithm.
Payload Support: Utilize Rust generics to support various payload types.