Fix grammatical mistakes in simple_keyword_cypher.py (#6385)

* Fixed grammitical mistake

* Update ciphers/simple_keyword_cypher.py

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>

Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>
This commit is contained in:
Itssxxsalman 2022-10-30 12:03:28 +05:00 committed by GitHub
parent 7b7b3dd086
commit 2d3985006f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ def create_cipher_map(key: str) -> dict[str, str]:
:param key: keyword to use :param key: keyword to use
:return: dictionary cipher map :return: dictionary cipher map
""" """
# Create alphabet list # Create a list of the letters in the alphabet
alphabet = [chr(i + 65) for i in range(26)] alphabet = [chr(i + 65) for i in range(26)]
# Remove duplicate characters from key # Remove duplicate characters from key
key = remove_duplicates(key.upper()) key = remove_duplicates(key.upper())