/iron-hmac

HMAC middleware for Rust's Iron HTTP framework

Primary LanguageRustApache License 2.0Apache-2.0

iron-hmac

HMAC middleware for the Iron HTTP framework

Build Status Crates.io Version

Authenticates incoming requests by computing the HMAC and performing a constant-time string comparison with the provided value. An HMAC header is computed and appended to the outgoing response.

Usage

The best way to get started is by looking at the example. For details, please see the documentation

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.