Premium Only Content

Substitution Ciphers in Python | PTP #1
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
-
LIVE
saiyagamertv
5 hours agoIm ready to RUMBLE lets WIN!!
31 watching -
LIVE
LethalPnda
50 minutes agoEarly Morning Fortnite | 77/100 followers | Content Creator for @SelfMadeGGs & @SMKAcademy
35 watching -
38:10
Stephen Gardner
2 days agoI can't BELIEVE Trump DID THIS! Jill Biden ACCUSED of MAJOR CRIME!
76.1K106 -
14:50
Russell Brand
17 hours agoJoe Rogan Goes Into SHOCK As Guest Exposes Government MIND CONTROL
87.3K103 -
31:59
The Brett Cooper Show
12 days ago $17.63 earnedBernie Fights Oligarchy From His Private Jet & Prince Harry’s Biggest L Yet | Episode 30
71.3K34 -
20:23
Exploring With Nug
20 hours ago $10.42 earnedI Found Something DISTURBING Thrown Off The Bridge!
230K13 -
26:24
MYLUNCHBREAK CHANNEL PAGE
1 day agoMilitary Sites STOLE the Old World - Pt 1
181K80 -
4:15:08
MissesMaam
12 hours agoRumblers Actin' Sus | Lockdown Protocol 💚✨
50.5K4 -
4:09:19
GamerGril
15 hours ago☠Doom Gal☠| The Ages Aren't Dark Enough
92.8K18 -
4:42
DecoyVoice
1 year agoPredictive AI is getting creepy
76.9K23