Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b5df6f

Browse files
Fixed typos in src/ciphers/chacha.rs (TheAlgorithms#943)
1 parent af8a289 commit 0b5df6f

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)

AltStyle によって変換されたページ (->オリジナル) /