rustywt

Crates.iorustywt
lib.rsrustywt
version0.1.0
sourcesrc
created_at2024-10-26 14:57:10.405855
updated_at2024-10-26 14:57:10.405855
descriptionA simple JWT (JSON Web Token) crate implemented in Rust, focusing on the HS256 (HMAC SHA-256) algorithm.
homepagehttps://github.com/joaoprado-rs/rustywt
repositoryhttps://github.com/joaoprado-rs/rustywt
max_upload_size
id1423920
size19,069
João Prado (joaoprado-rs)

documentation

https://docs.rs/rustywt

README

rustywt

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.

Table of Contents

  • 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.

Commit count: 12

cargo fmt