Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def decrypt_cipher(ciphertext: str, key: int) -> str:
- """
- Decrypt and you shall find.
- :param ciphertext: str
- :param key: int
- :return:
- """
- pass
- if __name__ == "__main__":
- print(decrypt_cipher("ppacsmstwyoirgdz", 2)) # -> password
- print(decrypt_cipher("iek eyhrpajuvxmexf kgaie pvsvqellceyriueixtnp", 3)) # -> i have a secret
- print(decrypt_cipher("sgupptezracoaolzixferbazghihlribsstviqcpeaxvpmiranlxiidtokcvixokudsq", 2)) # -> ???
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement