Advertisement
UniQuet0p1

Untitled

Sep 30th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. def decrypt_cipher(ciphertext: str, key: int) -> str:
  2.     """
  3.    Decrypt and you shall find.
  4.  
  5.    :param ciphertext: str
  6.    :param key: int
  7.    :return:
  8.    """
  9.     pass
  10.  
  11. if __name__ == "__main__":
  12.     print(decrypt_cipher("ppacsmstwyoirgdz", 2))  # -> password
  13.     print(decrypt_cipher("iek eyhrpajuvxmexf kgaie pvsvqellceyriueixtnp", 3))   # -> i have a secret
  14.     print(decrypt_cipher("sgupptezracoaolzixferbazghihlribsstviqcpeaxvpmiranlxiidtokcvixokudsq", 2))  # -> ???
  15.     print()
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement