Skip to content

Commit

Permalink
ctr: add comment to doc example to clarify seek usage (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
skaunov committed Sep 29, 2022
1 parent b8967df commit 37276dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctr/src/lib.rs
Expand Up @@ -37,7 +37,7 @@
//! }
//! assert_eq!(buf[..], plaintext[..]);
//!
//! // CTR mode supports seeking
//! // CTR mode supports seeking. The parameter is zero-based _bytes_ counter (not _blocks_).
//! cipher.seek(0u32);
//!
//! // encrypt/decrypt from buffer to buffer
Expand Down

0 comments on commit 37276dd

Please sign in to comment.