SlidePub
Home
Categories
Login
Register
Home
General
Affine Cypher Encryption - Decryption
Affine Cypher Encryption - Decryption
ZakriyaAliSabir
1,292 views
43 slides
Mar 29, 2017
Slide
1
of 43
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
About This Presentation
Affine Cypher Encryption - Decryption
Size:
2.84 MB
Language:
en
Added:
Mar 29, 2017
Slides:
43 pages
Slide Content
Slide 1
Affine cipher Ammar Amjad Kainat Khalid Zakriya Ali Sabir Syed Mohammad Ali Hamza Tariq Qazi Talha Hamid
Slide 2
Introduction Background
Slide 3
encoding Convert into a coded form.
Slide 4
encrypt Convert (information or data) into a cipher or code, especially to prevent unauthorized access.
Slide 5
Jean-Francois Champollion French soldier Philologist Orientalist DECIPHER of the EGYPTIAN HIEROGLYPHS
Slide 6
encryption techniqe
Slide 7
Y=( aP+k )%26
Slide 8
a=multiplier k=shift p=data
Slide 9
gcd (a,26)
Slide 10
Why 26??
Slide 11
g=6 Suppose we want to encrypt ‘g’ Checking corresponding numeric value
Slide 12
( 7, 2) using
Slide 13
Plugging the values in formula: =(7*6+2)%26 =44%26 =18
Slide 14
as s=18 we get : ‘ g ’ ‘ s ’
Slide 15
Decryption technique
Slide 16
Y=( aP+k )%26
Slide 17
( a , k ) KEY
Slide 18
P=[(a^-1)(Y-k)] % 26 Here this (a^-1) is not the multiplicative inverse of a but it is the modular inverse of a.
Slide 19
a = 7 k = 2 As we had encrypted : ‘ g ’ ‘ s ’ Using :
Slide 20
( a . a inverse) % 26 = 1 If we take : 1 <= a <= 25 ε a ^ -1 { 1,3,5,7,9,11,15,17,19,21,23,25}
Slide 21
key( a , k )=( 7,2 ) a inverse = 15 Y = 18 P = [a inverse ( Y – k) ] % 26 P = [ 15 ( 18 - 2 ) ] % 26 P = 6
Slide 22
key( a , k )=( 7,2 ) a inverse = 15 Y = 18 P = [a inverse ( Y – k) ] % 26 P = [ 15 ( 18 - 2 ) ] % 26 P = 6 Its CORRECT !
Slide 23
Algorithm & code
Slide 24
Flow-Chart PROCESS OF ENCRYPTION PROCESS OF DECRYPTION
Slide 25
START TAKE INPUT FROM USER CONVERT ALPHABETS TO NUMBERS ENCRYPT NUMBERS
Slide 26
CONVERT ENCRYPTED NUMBERS TO LETTERS CONVERT LETTERS BACK TO NUMBERS DECRYPT NUMBERS CONVERT NUMBERS TO LETTERS END
Slide 27
limitations Case of the alphabets Spaces Shift Multiplier
Slide 28
conclusion Thank-you!
Tags
ali
sabir
zakriyaalisabir
affine cypher
cypher encryption
cypher
affine cypher encryption - decryption
math
zakriya ali sabir
cypherdecryption
mathematics
zakriya
presentation
slideshare
affine
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
1,292
Slides
43
Favorites
2
Age
3168 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
30 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
32 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
30 views
14
Fertility awareness methods for women in the society
Isaiah47
29 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
26 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
28 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-43)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better