Merge pull request #1812 from leopardracer/master

BIP-0324: fix typo
This commit is contained in:
Jon Atack authored and GitHub committed 2025-04-07 09:43:45 -06:00
commit 8455e258b0
1 file changed
+1 -1
+1 -1
View File
@@ -566,7 +566,7 @@ class FSChaCha20:
return ret
def crypt(self, chunk):
"""Encrypt or decypt chunk."""
"""Encrypt or decrypt chunk."""
ks = self.get_keystream_bytes(len(chunk))
ret = bytes([ks[i] ^ chunk[i] for i in range(len(chunk))])
if ((self.chunk_counter + 1) % REKEY_INTERVAL) == 0: