def Decryp_Affine_t(arg1,arg2,arg3): data = arg1 key1 = int(arg2) key2 = int(arg3) key=[key1,key2] cm = SaveSpaces(SaveCase(CryptMachine(Affine(),key))) return(cm.decrypt(data))
def Decryp_Affine(): data = input("Enter dtata to be Decrypted By Affine Algorithm : ") key1 = int(input("Enter key1 : ")) key2 = int(input("Enter key2 : ")) key=[key1,key2] cm = SaveSpaces(SaveCase(CryptMachine(Affine(),key))) print(cm.decrypt(data)) input("Copy if needed.............")
def Decryp_Bifid(): data = input("Enter dtata to be Decrypted By Bifid Algorithm : ") key =int(input("Enter key : ")) cm = SaveSpaces(SaveCase(CryptMachine(Bifid(),key))) print(cm.decrypt(data)) input("Copy if needed.............")
def Decryp_Vigenere(): data = input("Enter dtata to be Decrypted By Vigenere Algorithm : ") key = input("Enter key : ") cm = SaveSpaces(SaveCase(CryptMachine(Vigenere(),key))) print(cm.decrypt(data)) input("Copy if needed.............")
def Decryp_Rot_13(): data = input("Enter dtata to be Decrypted By Rot-13 Algorithm : ") cm = SaveSpaces(SaveCase(CryptMachine(Rot13()))) print(cm.decrypt(data)) input("Copy if needed.............")
def Decryp_ceaser(): data = input("Enter dtata to be Decrypted By Ceaser Algorithm : ") key = int(input("Enter key to be Ency : ")) cm = SaveSpaces(SaveCase(CryptMachine(Caesar(), key))) print(cm.decrypt(data)) input("Copy if needed.............")
def Decryp_Bifid_t(arg1,arg2): data = arg1 key =int(arg2) cm = SaveSpaces(SaveCase(CryptMachine(Bifid(),key))) return(cm.decrypt(data))
def Decryp_Vigenere_t(arg1,arg2): data = arg1 key = arg2 cm = SaveSpaces(SaveCase(CryptMachine(Vigenere(),key))) return(cm.decrypt(data))
def Decryp_Rot_13_t(arg1): data = arg1 cm = SaveSpaces(SaveCase(CryptMachine(Rot13()))) return(cm.decrypt(data))
def Decryp_Keyword_t(arg1,arg2): data = arg1 key = arg2 cm = SaveSpaces(SaveCase(CryptMachine(Keyword(),key))) return(cm.decrypt(data))
def Decryp_ceaser_t(arg1, arg2): data = arg1 key = int(arg2) cm = SaveSpaces(SaveCase(CryptMachine(Caesar(), key))) return(cm.decrypt(data))