This is a blog post about my first of many projects in Fusion, a encoder/decoder for both Caesar and Vigenere algorithms.
If that link doesn't work, click here to view source code.
The Process
First Step was to flowchart the design to figure out the design process.
From there, I used W3schools, a more experienced friend, as well as a combination of previous knowledge to create the individual functions (Caesar Cipher/Decipher, Vigenere Cipher/Decipher)
Code used to define function to encode using the Ceasar algorithm.
Finally, I wrote the code to take user input and run the desired function as well as the brute force algorithm for the Caesar Decoder.
Brute force Caesar decoder
Throughout my time creating this project I went through my own fair share of problems and bugs in my code. At first, I attempted to use the provided Artificial Intelligence to varying success-I found that it would not always provide applicable or relevant advice. Instead, I contacted a friend who is more experienced in python than I am and he walked me through what was wrong and how to fix the problems as well as advice on writing code(readability, efficiency, etc.)
Sample output text.
Leave a Reply