#iron #hmac #http #middleware

iron-hmac

HMAC middleware for the Iron HTTP framework

5 releases (3 breaking)

0.4.0 Aug 23, 2016
0.3.3 Apr 10, 2016
0.3.0 Dec 30, 2015
0.2.1 Dec 30, 2015
0.1.0 Dec 13, 2015

#66 in Cryptography

Download history 324/week @ 2018-08-12 291/week @ 2018-08-19 272/week @ 2018-08-26 305/week @ 2018-09-02 307/week @ 2018-09-09 301/week @ 2018-09-16 295/week @ 2018-09-23 350/week @ 2018-09-30 298/week @ 2018-10-07 298/week @ 2018-10-14 372/week @ 2018-10-21 324/week @ 2018-10-28 270/week @ 2018-11-04

1,558 downloads per month

MIT/Apache

16KB
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

~8.5MB
~207K SLoC