summaryrefslogtreecommitdiff
path: root/content/projects/python-encryption/index.md
blob: 95bd3a1c4caed72e9fb56d388b2262e2e6b8b0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: Encryption in Python
author: Benjamin Chausse
date: 2023-10-25T20:01:27-04:00
---



During my last year of highschool, I designed my very own text encryption
algorithm. I wrote software in python to encode and decode text using a
custom algorithm I made to understand core concepts in information theory.

I was tasked in the context of one of my classes to carry a project of my
choosing. This class' goal was mainly to teach students about managing long
term project when it comes to deadlines, research and organisation. The project
itself however, didn't matter and could be whatever you dreamed about.

A student wrote a recipe book, another built a potato gun. When it came my turn
to pick, I decided I wanted to do something related to software development and
math: A text encryption software utilizing a custom algorithm that I had made.
Let's be real, the algorithm itself isn't good by any stretch of the
imagination, but it did force me to understand core concepts of information theory,
be creative, and develop code where I couldn't rely on libraries with pre-made
encryption libraries.


![How the message gets encoded](msg-encode.gif)

![How the password gets encoded](psswd-encode.gif)