fix: function name typo (#11319)

* fix: function name typo

Signed-off-by: guoguangwu <guoguangwug@gmail.com>

* lfu_cache.py: Use f-strings

* rsa_cipher.py: Use f-strings

---------

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
guangwu
2024-03-12 16:40:32 +08:00
committed by GitHub
parent fd27953d44
commit 5f95d6f805
2 changed files with 3 additions and 4 deletions

View File

@ -102,8 +102,7 @@ def read_from_file_and_decrypt(message_filename: str, key_filename: str) -> str:
sys.exit(
f"ERROR: Block size is {block_size * 8} bits and key size is {key_size} "
"bits. The RSA cipher requires the block size to be equal to or greater "
"than the key size. Did you specify the correct key file and encrypted "
"file?"
"than the key size. Were the correct key file and encrypted file specified?"
)
encrypted_blocks = []