Python Project-Cipher

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.


Comments

2 Responses to “Python Project-Cipher”

  1. mcrompton Avatar
    mcrompton

    Excellent post, Aaron! You’ve ticked all of the required boxes and I am confident that if I gave you a more complex Python assignment, you would at least know where to start. You have communicated your thinking well. I like the reflection regarding the use of AI. In a coding context, AI tools can be very helpful, but they rarely (never?) get you to a perfected end solution. Nice flowchart, but I wish the resolution was higher so that I could actually read the fine print! I particularly like the layout as the words are next to the images that you are discussing and this makes your communication clear!

  2. vzhao27 Avatar
    vzhao27

    nice one aaron

Leave a Reply

Your email address will not be published. Required fields are marked *