Skip to content

Commit 818d95a

Browse files
committed
Fixed typos in src/ciphers/chacha.rs
1 parent 7c1542b commit 818d95a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ciphers/chacha.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub const C: [u32; 4] = [0x61707865, 0x3320646e, 0x79622d32, 0x6b206574];
2929
/// data.
3030
///
3131
/// The 16 input numbers can be thought of as the elements of a 4x4 matrix like
32-
/// the one bellow, on which we do the main operations of the cipher.
32+
/// the one below, on which we do the main operations of the cipher.
3333
///
3434
/// ```text
3535
/// +----+----+----+----+
@@ -43,7 +43,7 @@ pub const C: [u32; 4] = [0x61707865, 0x3320646e, 0x79622d32, 0x6b206574];
4343
/// +----+----+----+----+
4444
/// ```
4545
///
46-
/// As per the diagram bellow, `input[0, 1, 2, 3]` are the constants mentioned
46+
/// As per the diagram below, `input[0, 1, 2, 3]` are the constants mentioned
4747
/// above, `input[4..=11]` is filled with the key, and `input[6..=9]` should be
4848
/// filled with nonce and counter values. The output of the function is stored
4949
/// in `output` variable and can be XORed with the plain text to produce the

0 commit comments

Comments
 (0)