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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
wwwy3y3
May 18, 2014
Programming
67
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
670
spark serialization
wwwy3y3
0
220
nodeJS 入門警戒 @wheelLab
wwwy3y3
2
250
Other Decks in Programming
See All in Programming
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
260
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
630
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
100
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
420
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
130
業務時間外もAIに働いてもらう話
colorful12
3
9.9k
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
1.7k
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
0
410
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.3k
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
120
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
210
リアルな遅延を測る仕様
kota_yata
1
140
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
41k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Thoughts on Productivity
jonyablonski
76
5.4k
Deep Space Network (abreviated)
tonyrice
0
290
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Are puppies a ranking factor?
jonoalderson
2
3.9k
It's Worth the Effort
3n
188
29k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Test your architecture with Archunit
thirion
2
2.4k
Believing is Seeing
oripsolob
1
210
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
230
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