Crate nonce_auth

Source
Expand description

A lightweight, secure nonce-based authentication library for Rust.

This library provides a simple, robust solution for preventing replay attacks in APIs and other network services. It uses a combination of nonces, timestamps, and HMAC signatures to ensure that each request is unique and authentic.

For a quick start, see the README.md. For configuration options, see CONFIGURATION.md.

Re-exports§

pub use nonce::NonceClient;
pub use nonce::NonceConfig;
pub use nonce::NonceError;
pub use nonce::NonceServer;

Modules§

nonce
storage
Pluggable storage backends for nonce persistence.

Structs§

NonceCredential
A self-contained cryptographic credential used to authenticate a request.