web tools for classical cryptology tristan beeble

27
Web Tools for Classical Cryptology Tristan Beeble

Upload: silvester-daniels

Post on 13-Jan-2016

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Web Tools for Classical Cryptology Tristan Beeble

Web Tools for Classical Cryptology

Tristan Beeble

Page 2: Web Tools for Classical Cryptology Tristan Beeble

Overview

Background Types of problems Tools

Page 3: Web Tools for Classical Cryptology Tristan Beeble

Cryptology

Cryptography– Encoding a message

Cryptoanalysis– Decoding a message

Page 4: Web Tools for Classical Cryptology Tristan Beeble

Background

Client: Professor Lesh Gen-ed Math course Help solve homework problems

Page 5: Web Tools for Classical Cryptology Tristan Beeble

Goals

Decoding Additional study Aid, not solve Easy to use

Page 6: Web Tools for Classical Cryptology Tristan Beeble

Terms

Plaintext: Message you want to send Ciphertext: Actual text sent Key: What’s needed to decode Algorithm: How to decode Cipher: allowed plaintexts, keyspace,

encryption and decryption algorithm

Page 7: Web Tools for Classical Cryptology Tristan Beeble

Types of Ciphers

Caesar Cipher Monoalphabetic Ciphers Polyalphabetic Ciphers

– Vigenère Cipher

Page 8: Web Tools for Classical Cryptology Tristan Beeble

Caesar Cipher

Plaintext: tristan

Key: 7

Ciphertext: aypzahu

Page 9: Web Tools for Classical Cryptology Tristan Beeble

Monoalphabetic Cipher

Caesar

Plaintext: A B C D E

Ciphertext: B C D E F

Monoalphabetic

Plaintext: A B C D E

Ciphertext: E C A B D

Page 10: Web Tools for Classical Cryptology Tristan Beeble

Monoalphabetic cipher

Page 11: Web Tools for Classical Cryptology Tristan Beeble

Polyalphabetic Cipher

Vigenère cipher

Plaintext: i n i t i a t e

Key: u n i o n u n i

Page 12: Web Tools for Classical Cryptology Tristan Beeble

Vigenère cipher

Page 13: Web Tools for Classical Cryptology Tristan Beeble

Vigenère Cipher

Plaintext: i n i t i a t e

Key: u n i o n u n i

Ciphertext: c a q h v u g m

Page 14: Web Tools for Classical Cryptology Tristan Beeble

Caesar Cipher Decryption

Same idea as Encryption Backwards

Ciphertext: aypzahu

Key: 7(-7)

Plaintext: tristan

Page 15: Web Tools for Classical Cryptology Tristan Beeble

Caesar Cipher Tool

Page 16: Web Tools for Classical Cryptology Tristan Beeble

Caesar Cipher Tool

Page 17: Web Tools for Classical Cryptology Tristan Beeble

Monoalphabetic Cipher Decryption

First Step:Guess work– Word length– Partial solutions

Second Step:Frequency Analysis

Page 18: Web Tools for Classical Cryptology Tristan Beeble

Frequency analysis

Page 19: Web Tools for Classical Cryptology Tristan Beeble

Frequency Analysis Tool

Page 20: Web Tools for Classical Cryptology Tristan Beeble

Monoalphabetic Cipher Tool

e

lmstn qtomq ***e* te**t

t

Page 21: Web Tools for Classical Cryptology Tristan Beeble

Vigenère Cipher Decryption

Repeated Segments Factors

– Plaintext: the bird ate the cat– Key: uni onun ion uni onu– Cipher: num pvlq ihr num qnn

10

Multiple Frequency Analysis

Page 22: Web Tools for Classical Cryptology Tristan Beeble

Vigenère Cipher Tools

fgsjetladkjdjkeifldlkowfgewsloiodkjplkjhgfetllk

DJK 21

Page 23: Web Tools for Classical Cryptology Tristan Beeble

Repeated Substrings

T H B Z T H B T

T 1 0 0 0 1 0 0 1

H 0 2 0 0 0 2 0 0

B 0 0 3 0 0 0 3 0

Z 0 0 0 4 0 0 0 0

T 1 0 0 0 5 0 0 1

H 0 2 0 0 0 6 0 0

B 0 0 3 0 0 0 7 0

T 1 0 0 0 1 0 0 8

Repeated substring started

Repeated substring ended

Page 24: Web Tools for Classical Cryptology Tristan Beeble

Vigenère Cipher Tools

Page 25: Web Tools for Classical Cryptology Tristan Beeble

Future work

Encryption More types of Ciphers

Page 26: Web Tools for Classical Cryptology Tristan Beeble

Accomplishments

Save the student time Allow them to do more Easier for the professor More complex examples

Page 27: Web Tools for Classical Cryptology Tristan Beeble

Questions?