Debian Codegraph @

third_party/rust/keccak/README.md

raw
1 # RustCrypto: Keccak Sponge Function
2
3 [![crate][crate-image]][crate-link]
4 [![Docs][docs-image]][docs-link]
5 [![Build Status][build-image]][build-link]
6 ![Apache2/MIT licensed][license-image]
7 ![Rust Version][rustc-image]
8 [![Project Chat][chat-image]][chat-link]
9
10 Pure Rust implementation of the [Keccak Sponge Function][1] including the keccak-f
11 and keccak-p variants.
12
13 [Documentation][docs-link]
14
15 ## About
16
17 This crate implements the core Keccak sponge function, upon which many other
18 cryptographic functions are built.
19
20 For the SHA-3 family including the SHAKE XOFs, see the [`sha3`] crate, which
21 is built on this crate.
22
23 ## Minimum Supported Rust Version
24
25 Rust **1.41** or higher by default, or **1.59** with the `asm` feature enabled.
26
27 Minimum supported Rust version can be changed in the future, but it will be
28 done with a minor version bump.
29
30 ## SemVer Policy
31
32 - All on-by-default features of this library are covered by SemVer
33 - MSRV is considered exempt from SemVer as noted above
34
35 ## License
36
37 Licensed under either of:
38
39 * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
40 * [MIT license](http://opensource.org/licenses/MIT)
41
42 at your option.
43
44 ### Contribution
45
46 Unless you explicitly state otherwise, any contribution intentionally submitted
47 for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
48 dual licensed as above, without any additional terms or conditions.
49
50 [//]: # (badges)
51
52 [crate-image]: https://img.shields.io/crates/v/keccak.svg
53 [crate-link]: https://crates.io/crates/keccak
54 [docs-image]: https://docs.rs/keccak/badge.svg
55 [docs-link]: https://docs.rs/keccak/
56 [build-image]: https://github.com/RustCrypto/sponges/actions/workflows/keccak.yml/badge.svg
57 [build-link]: https://github.com/RustCrypto/sponges/actions/workflows/keccak.yml
58 [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
59 [rustc-image]: https://img.shields.io/badge/rustc-1.41+-blue.svg
60 [chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
61 [chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/369879-sponges
62
63 [//]: # (general links)
64
65 [1]: https://keccak.team/keccak.html
66 [`sha3`]: https://github.com/RustCrypto/hashes/tree/master/sha3