We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2bbc4d commit af8f6c7Copy full SHA for af8f6c7
std/src/std/crypto/chacha.inko
@@ -174,9 +174,9 @@ type inline Matrix {
174
#
175
# # Limitations
176
177
-# As our implementation is based on RFC 8439, the total message size is limited
178
-# to 256 GiB. When reaching this limit the cipher panics, as the alternative is
179
-# a silent overflow that could lead to weaker/broken encryption.
+# The implementation deviates from the RFC by using a 64-bits counter instead of
+# a 32-bits counter. If the counter overflows, the `ChaCha.encrypt` and
+# `ChaCha.decrypt` methods will panic.
180
181
# # Examples
182
0 commit comments