For my beginners course Python I got the following assignment:
Write a program that decrypts messages in the following format:
<encryption_algorithm>:<key>:<message>
Example: caesar:42:01110010 10001111 10010110 10010110 10011001
The messages are encoded as binary strings with length 8 and have to be converted to ASCII. The messages can use Caesar and Vigenère encryption logarithms. It is not allowed to use the built-in functionality int(n,2). Tips: use string.split() when reading the input file. Start by parsing the input file.
I actually don't know where to start. Writing a function to convert binary in to decimals and vice versa? Write a Caesar decrypt and encrypt code?