def print_mat(hk): def main(): ptext = input("Kindly enter your desired plaintext: ") hk = input("Kindly enter the Hill Key: ") print("Welcome to the Hill cipher.") print("Plaintext: ", ptext) print("Hill Key: ", print_mat(hk)) ctext = hill_en(ptext, hk) print("Ciphertext: ", ctext) decrypted_text = hill_de(ctext, hk) print("Decrypted Text: ", decrypted_text) if __name__ == '__main__': main()