Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RustCrypto/MACs
Message authentication code algorithms written in pure Rust
https://github.com/RustCrypto/MACs
Last synced: 4 months ago
JSON representation
Message authentication code algorithms written in pure Rust
- Host: GitHub
- URL: https://github.com/RustCrypto/MACs
- Owner: RustCrypto
- Created: 2017-07-22T18:52:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T22:33:58.000Z (4 months ago)
- Last Synced: 2024-10-31T18:39:58.280Z (4 months ago)
- Language: Rust
- Size: 2.32 MB
- Stars: 264
- Watchers: 6
- Forks: 37
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-cryptography-rust - MACs
README
# RustCrypto: Message Authentication Codes
[![Project Chat][chat-image]][chat-link]
[![dependency status][deps-image]][deps-link]
![Apache2/MIT licensed][license-image]Collection of [Message Authentication Code][1] (MAC) algorithms written in pure Rust.
## Supported Algorithms
| Algorithm | Crate | Crates.io | Documentation | MSRV |
|------------|--------------|:---------:|:-------------:|:----:|
| [BelT MAC] | [`belt-mac`] | [](https://crates.io/crates/belt-mac) | [](https://docs.rs/belt-mac) | ![MSRV 1.57][msrv-1.57] |
| [CBC-MAC] | [`cbc-mac`] | [](https://crates.io/crates/cbc-mac) | [](https://docs.rs/cbc-mac) | ![MSRV 1.56][msrv-1.56] |
| [CMAC] | [`cmac`] | [](https://crates.io/crates/cmac) | [](https://docs.rs/cmac) | ![MSRV 1.56][msrv-1.56] |
| [HMAC] | [`hmac`] | [](https://crates.io/crates/hmac) | [](https://docs.rs/hmac) | ![MSRV 1.41][msrv-1.41] |
| [PMAC] | [`pmac`] | [](https://crates.io/crates/pmac) | [](https://docs.rs/pmac) | ![MSRV 1.56][msrv-1.56] |### Minimum Supported Rust Version (MSRV) Policy
MSRV bumps are considered breaking changes and will be performed only with minor version bump.
## License
All crates licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)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.
[//]: # (badges)
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260044-MACs
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[deps-image]: https://deps.rs/repo/github/RustCrypto/MACs/status.svg
[deps-link]: https://deps.rs/repo/github/RustCrypto/MACs
[msrv-1.41]: https://img.shields.io/badge/rustc-1.41.0+-blue.svg
[msrv-1.56]: https://img.shields.io/badge/rustc-1.56.0+-blue.svg
[msrv-1.57]: https://img.shields.io/badge/rustc-1.57.0+-blue.svg[//]: # (crates)
[`belt-mac`]: ./belt-mac
[`cbc-mac`]: ./cbc-mac
[`cmac`]: ./cmac
[`hmac`]: ./hmac
[`pmac`]: ./pmac[//]: # (footnotes)
[1]: https://en.wikipedia.org/wiki/Message_authentication_code
[//]: # (algorithms)
[BelT MAC]: https://apmi.bsu.by/assets/files/std/belt-spec371.pdf
[CBC-MAC]: https://en.wikipedia.org/wiki/CBC-MAC
[CMAC]: https://en.wikipedia.org/wiki/One-key_MAC
[HMAC]: https://en.wikipedia.org/wiki/HMAC
[PMAC]: https://en.wikipedia.org/wiki/PMAC_(cryptography)