From 818d95aef9003a2606d9c2d6739f46292beaa234 Mon Sep 17 00:00:00 2001 From: 0xprincedev Date: Wed, 5 Nov 2025 21:20:52 -0500 Subject: [PATCH] Fixed typos in src/ciphers/chacha.rs --- src/ciphers/chacha.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ciphers/chacha.rs b/src/ciphers/chacha.rs index 6b0440a9d11..c6f0735ccea 100644 --- a/src/ciphers/chacha.rs +++ b/src/ciphers/chacha.rs @@ -29,7 +29,7 @@ pub const C: [u32; 4] = [0x61707865, 0x3320646e, 0x79622d32, 0x6b206574]; /// data. /// /// The 16 input numbers can be thought of as the elements of a 4x4 matrix like -/// the one bellow, on which we do the main operations of the cipher. +/// the one below, on which we do the main operations of the cipher. /// /// ```text /// +----+----+----+----+ @@ -43,7 +43,7 @@ pub const C: [u32; 4] = [0x61707865, 0x3320646e, 0x79622d32, 0x6b206574]; /// +----+----+----+----+ /// ``` /// -/// As per the diagram bellow, `input[0, 1, 2, 3]` are the constants mentioned +/// As per the diagram below, `input[0, 1, 2, 3]` are the constants mentioned /// above, `input[4..=11]` is filled with the key, and `input[6..=9]` should be /// filled with nonce and counter values. The output of the function is stored /// in `output` variable and can be XORed with the plain text to produce the