We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b660044 commit a8dd927Copy full SHA for a8dd927
docs/development/custom-vectors/chacha20/generate_chacha20_overflow.py
@@ -33,9 +33,7 @@ def _build_vectors():
33
output.append(f"INITIAL_BLOCK_COUNTER = {counter}")
34
output.append(f"PLAINTEXT = {binascii.hexlify(plaintext)}")
35
output.append(
36
- "CIPHERTEXT = {}".format(
37
- binascii.hexlify(encryptor.update(plaintext))
38
- )
+ f"CIPHERTEXT = {binascii.hexlify(encryptor.update(plaintext))}"
39
)
40
return "\n".join(output)
41
0 commit comments