Master Substitution Ciphers in Python: A Step-by-Step Guide π
Discover how to implement four different substitution ciphers in Python. Perfect for coding enthusiasts looking to enhance their cryptography skills!

Parotech
22 views β’ Dec 18, 2024

About this video
PTP #1
As I continue my coding journey I decided to look into ciphers. The purpose of this project was to implement four substitution ciphers in (p)ython (a)nd lea(r)n a little m(o)re about the math behind them. Iβm (s)ure every(o)ne has heard of the Caesar cipher, (m)yself i(n)cluded, but after looking that up I fell (i)nto (a) rabbit hole of a few other types of substitution (c)iphers I wanted to learn about as well. Comment below with your favorite cipher or any suggestions for improvement!
Note: In the video I didn't account for the key in the viginere cipher having uppercase letters. I have since updated the code to return the key as lowercase with return key.lower()
Ihrbc mah not lakqzwzt! Xet Pnxikhm nl Awvujhs!
Timestamps:
00:00 Intro & Menu
02:03 Atbash Cipher
03:06 Caesar Cipher
04:54 Affine Cipher
08:02 Viginere Cipher
09:35 Full Code & Testing
(I can't add links yet :p)
Resources:
ASCII Table: cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html
Full Code on GitHub:
github.com/parosomniac/Ciphers-Python
Tags: #python #ciphers #cryptography #ptp
As I continue my coding journey I decided to look into ciphers. The purpose of this project was to implement four substitution ciphers in (p)ython (a)nd lea(r)n a little m(o)re about the math behind them. Iβm (s)ure every(o)ne has heard of the Caesar cipher, (m)yself i(n)cluded, but after looking that up I fell (i)nto (a) rabbit hole of a few other types of substitution (c)iphers I wanted to learn about as well. Comment below with your favorite cipher or any suggestions for improvement!
Note: In the video I didn't account for the key in the viginere cipher having uppercase letters. I have since updated the code to return the key as lowercase with return key.lower()
Ihrbc mah not lakqzwzt! Xet Pnxikhm nl Awvujhs!
Timestamps:
00:00 Intro & Menu
02:03 Atbash Cipher
03:06 Caesar Cipher
04:54 Affine Cipher
08:02 Viginere Cipher
09:35 Full Code & Testing
(I can't add links yet :p)
Resources:
ASCII Table: cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html
Full Code on GitHub:
github.com/parosomniac/Ciphers-Python
Tags: #python #ciphers #cryptography #ptp
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
22
Duration
10:28
Published
Dec 18, 2024
Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now