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
63
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
200
nodeJS 入門警戒 @wheelLab
wwwy3y3
2
240
Other Decks in Programming
See All in Programming
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
180
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
KagglerがMixSeekを触ってみた
morim
0
370
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
930
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
460
Swift Concurrency Type System
inamiy
0
480
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6.3k
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
250
Running Swift without an OS
kishikawakatsumi
0
780
Vibe NLP for Applied NLP
inesmontani
PRO
0
360
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
330
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
340
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Bash Introduction
62gerente
615
210k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
200
Embracing the Ebb and Flow
colly
88
5k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Six Lessons from altMBA
skipperchong
29
4.2k
My Coaching Mixtape
mlcsv
0
97
The SEO identity crisis: Don't let AI make you average
varn
0
440
Mind Mapping
helmedeiros
PRO
1
150
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
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