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
Download history 18/week @ 2023-10-29 11/week @ 2023-11-05 6/week @ 2023-11-12 6/week @ 2023-11-19 20/week @ 2023-11-26 21/week @ 2023-12-03 11/week @ 2023-12-10 5/week @ 2023-12-17 16/week @ 2023-12-24 4/week @ 2023-12-31 8/week @ 2024-01-07 6/week @ 2024-01-14 10/week @ 2024-01-21 15/week @ 2024-01-28 3/week @ 2024-02-04 27/week @ 2024-02-11

56 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.5–7.5MB
~168K SLoC