Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
classical ciphersin python
Search
wwwy3y3
May 18, 2014
Programming
65
0
Share
classical ciphersin python
classical ciphersin python
wwwy3y3
May 18, 2014
More Decks by wwwy3y3
See All by wwwy3y3
How Canner.io Build GraphQL for CMS
wwwy3y3
0
1.2k
React server-side render nightmare gone
wwwy3y3
0
660
spark serialization
wwwy3y3
0
210
nodeJS 入門警戒 @wheelLab
wwwy3y3
2
240
Other Decks in Programming
See All in Programming
KMP × Kotlin 2.3 - How Android Got Slower While iOS Builds Improved by 47%
rio432
0
130
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
140
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
690
GoogleCloudとterraform完全に理解した
terisuke
1
190
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
140
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
From Formal Specification to Property Based Test
ohbarye
0
710
実用!Hono RPC2026
yodaka
2
300
Agentic Elixir
whatyouhide
0
440
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
370
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
410
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
480
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
140
Odyssey Design
rkendrick25
PRO
2
610
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
560
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
340
Making Projects Easy
brettharned
120
6.6k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
320
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
Transcript
ciphers using python @wwwy3y3 NCKU
Me • wwwy3y3 • 張仲威 • ncku student • python
, nodeJs lover
classical_ciphers • pip install classical_ciphers • github: /wwwy3y3/ciphers • help
you understand classical ciphers • DO NOT USE FOR PRODUCTION!!
ciphers • monoalphabetic • ceasar cipher • keyword • polyalphabetic
• transposition
None
monoalphabetic- Ceasar cipher • simple shift • encrypter.ceasar(3)
monoalphabetic -keyword • keyword: william -> wilam • encrypter.keyword(‘william’) •
plaintext ABCDEFGHIJKLMNOPQRSTUVWXYZ • ciphertext WILAMBCDEFGHJKNOPQRSTUVXYZ
polyalphabetic • keyword: snake -> 9, 14, 1, 11, 15
• plaintext HELLO HOW ARE YOU • -> 8-5-12-12-15 -8-15-23-1-18 -5 25-15-21 • ->19-14-1-11-5 -19-14-1-11-5- 19-14-1-11 • add up -> your ciphertext! • encrypter.poly(‘william’)
transposition • plaintext: hello how are you • window size=3!
• ciphertext: hloro eoweu lhay • WHY? • letter frequency h e l l o h o w a r e y o u
None
encrypt.trans(4).poly(‘python’) decrypt.poly(‘python’).trans(4)
THANK U