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
0
61
classical ciphersin python
classical ciphersin python
wwwy3y3
May 18, 2014
Tweet
Share
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
650
spark serialization
wwwy3y3
0
180
nodeJS 入門警戒 @wheelLab
wwwy3y3
2
230
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
AIでLINEスタンプを作ってみた
eycjur
1
230
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
440
testingを眺める
matumoto
1
140
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
110
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
290
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
490
デザイナーが Androidエンジニアに 挑戦してみた
874wokiite
0
280
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.4k
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
270
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
210
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
36
6.9k
The Invisible Side of Design
smashingmag
301
51k
Rails Girls Zürich Keynote
gr2m
95
14k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Scaling GitHub
holman
463
140k
The World Runs on Bad Software
bkeepers
PRO
70
11k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
A better future with KSS
kneath
239
17k
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