6 releases (breaking)

Uses old Rust 2015

0.6.0 Oct 22, 2018
0.4.0 Aug 23, 2016
0.3.3 Apr 10, 2016
0.3.0 Dec 30, 2015
0.1.0 Dec 13, 2015

#31 in #hmac

27 downloads per month

MIT/Apache

17KB
308 lines

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.

Dependencies

~5–7MB
~156K SLoC