Skip to content

Commit 717fe8e

Browse files
Remove whitespace
1 parent 7f084e0 commit 717fe8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pydatastructs/crypto/ChaCha20.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def _apply_keystream(self, data: bytes) -> bytes:
167167
chunk = data[start:start + chunk_size]
168168
start += chunk_size
169169
keystream = self._chacha20_block(self.counter)
170-
170+
171171
self.counter += 1
172172
xor_block = []
173173
for idx in range(len(chunk)):

pydatastructs/crypto/tests/test_chacha20.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_key_reuse_simple():
102102
min_len = min(len(plaintext1), len(plaintext2))
103103
plaintext1 = plaintext1[:min_len]
104104
plaintext2 = plaintext2[:min_len]
105-
105+
106106

107107
ciphertext1 = cipher1.encrypt(plaintext1)
108108
ciphertext2 = cipher2.encrypt(plaintext2)

0 commit comments

Comments
 (0)