rust-bitcoin-unsafe-fast/chacha20_poly1305
Tobin C. Harding 2c9fda4135
Add parenthesis to explicitly show precedence
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.
2025-01-04 15:25:00 +11:00
..
contrib Add the ChaCha20Poly1305 AEAD crate 2024-10-14 20:55:03 -07:00
src Add parenthesis to explicitly show precedence 2025-01-04 15:25:00 +11:00
CHANGELOG.md Prep the chacha20-poly1305 crate for release 2024-11-09 07:23:45 -08:00
Cargo.toml Prep the chacha20-poly1305 crate for release 2024-11-09 07:23:45 -08:00
README.md Add callouts to the chacha20-poly1305 public docs 2024-11-08 10:56:36 -08:00

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.