Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
69
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
230
nodeJS 入門警戒 @wheelLab
wwwy3y3
2
250
Other Decks in Programming
See All in Programming
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
golang-bob.pdf
iwatsukayura
0
130
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
すこし踏み込む CancellationToken
htkym
2
1.7k
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Raft: Consensus for Rubyists
vanstee
142
7.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Leo the Paperboy
mayatellez
10
2.4k
How to build a perfect <img>
jonoalderson
1
6.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
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