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
wwwy3y3
May 18, 2014
Programming
73
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
Transcript
12 slides
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
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
680
spark serialization
wwwy3y3
0
240
nodeJS 入門警戒 @wheelLab
wwwy3y3
2
260
Other Decks in Programming
See All in Programming
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
130
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
240
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
510
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
800
あなたはMCPの機能を、まだ知らない。
4geru
1
730
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.7k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
A Soul's Torment
seathinner
9
3.9k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380