I have a project for my Cryptology class and I can't find a fault in my code. I even asked my classmate to see if anything was wrong and he said my code was essentially the same as his. I'm looked over it several times and I was hoping someone here could help me spot my mistake. For background information, this code is supposed to decrypt (bits to text) and encrypt (text to bits). If you see nothing wrong here, could you please check out the file I attached? It contains my entire code. Thanks to anyone who tries!
Here's the code:
'Encrypts input text to bits and then outputs it
(Btw, in my txt file, I know the decryption program doesn't work, but I'm positive that has nothing to do with the error.)
Bookmarks