Rotor Cipher and Enigma Machine

6,047 views 21 slides Oct 08, 2016
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

This presentation explains cipher technique with the help of an example and also explains components and the working of enigma machine.


Slide Content

ROTOR CIPHER & ENIGMA MACHINE BY : SAURABH KAUSHIK (3174) Sarvesh rawat (3121)

Taxonomy of Cryptology

Rotor cipher A Rotor machine is an electro-mechanical stream cipher device used for encrypting and decrypting secret messages. A Stream cipher is a symmetric key cipher where plaintext digits are combined with a pseudorandom cipher digit stream ( keystream ). In a stream cipher each plaintext digit is encrypted one at a time with the corresponding digit of the keystream , to give a digit of the cipher text stream.

Monoalphabetic vs. Polyalphabetic Monoalphabetic cipher uses fixed substitution over the entire message. Polyalphabetic cipher uses a number of substitutions at different positions in the message, where a unit from the plaintext is mapped to one of several possibilities in the cipher text and vice versa.

A Rotor

Example Assumptions:- A rotor which is designed for first 7 alphabet. Plaintext of length 5. Upward rotation.

Example A B C D E F G A 1 B 1 C 1 D 1 E 1 F 1 G 1 Starting Configuration Of Rotor

Example A A A A A A A A A A B B B B B B B B B B C C C C C C C C C C D D D D D D D D D D E E E E E E E E E E F F F F F F F F F F G G G G G G G G G G Rot. 1 Rot. 2 Rot. 3 Rot. 4 Rot. 5

Example Suppose, Plain text= DCEGF D E C D E D G A F G Cipher Text = EDDAG Encryption Procedure :

Example Revert back the steps followed in encryption procedure! Decryption Procedure :

ENIGMA MACHINE

Enigma Technology Typewriter style cipher machine was a major advance in ease of use and cryptologic strength Innovation was the electro-mechanical rotors Rotors turn odometer style, giving a new cipher algorithm for each letter in a message No printing capability

Keyboard

Plugboard The Enigma machine had several cables with a plug at each end that could be used to plug pairs of letters together . If A were plugged to B then, on typing the letter A, the electric current would follow the path that was normally associated with the letter B, and vice versa.

Rotors & Reflector First rotor rotates each time a character is input. The second rotor rotates once each time the first rotor makes one full turn. The third rotor rotates once each time the second rotor has rotated completely.

Light Bulb Panel

How it works? Light Panel Keyboard Reflector Left Rotor Middle Rotor Right Rotor Entry Drum Q W E R T Z I O U Y X C V B M L N S D F G K J Q W E R T Z I O Q W E R T Z I U S D F G K J S D F G P Y X C V B M L P Y X C V B M L N P N K J O O M F Plugboard P A + - + M O - BATTERY H A O N J X B F J B P O N X M M A A U H H H  Copyright © 2016 CipherMachines.com and EnigmaMuseum.com

Enigma rotor and reflector table They pick any three rotors and one reflector out of these on daily basis.These are the initial configuration of those rotors and reflectors.

How many possible keys are there when you swap each letter of the alphabet with another letter? 26*25*24*23*22*21*20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1 =26! = 400 000 000 000 000 000 000 000 000 FACTS:

400 septillion keys! 6.5 billion people in the world 31 million seconds in a year If everyone in the world checked one key per second, it would still take 2 billion years to check them all!

THANKYOU!
Tags