Recent clippy nightly update introduces warnings about precedence. While ours are, IMO, clear the lint docs have some cases that are not so I don't think we should ignore this lint. Specifically I could easily miss this one 1 << 2 + 3 equals 32, while (1 << 2) + 3 equals 7 ref: https://rust-lang.github.io/rust-clippy/master/#/precede Add parenthesis to explicitly show precedence. Refactor only no logic changes. |
||
---|---|---|
.. | ||
contrib | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
README.md
ChaCha20-Poly1305
An authenticated encryption with associated data (AEAD) algorithm implemented with the ChaCha20 stream cipher and the Poly1305 message authentication code (MAC).
This implementation is maintained by the rust-bitcoin community and has a focus on a bare-bones API suitable for the bitcoin ecosystem.
Minimum Supported Rust Version (MSRV)
This library should always compile with any combination of features on Rust 1.63.0.