Ins Assignment 2
Ins Assignment 2
PAGE No.:
DATE:
IAssiqnment 2
Q.Explafo lbBenal slructDre of Sinqle
’ -DES alqoritbm works oO 64bt platolex!
bloCKs and uses 56 key bi
-Eacb róundof DES Consfs4 of
(A)hr4ftal: Peruta4fop (IP)3:
The 64 bftplaiolext blotk fs ffrs Sub[e cte
to an fnîtal PernmuBatfon,whfch fs
xed
(B)key 4eneratîon8
The S6 - bft keyfs used to qeneraBe l6
rOund key sone for each ot l6
ouncls,
83.0ifBerentfate betueendiusîon
Coofustoo 2:Explafo
and
feisBel stroctore
enrypifon andderypiîon. -
Ditfusion 4
Confusion
4fsUSedto create A4fS usecltocre04e
Cyptfcplaintexds. 4afnt.cfphertets.
Afs possble
throughl-1 fs possfble through
Hranspof+fon dech Sutsf totfon Hechm
Rendants
Creasecd
Rs egenéss fs fncre
resinVaquenéss fncre
inthe res
rea sec fothe
Hoo!..'t iosed fo zesultaot.
onls BlockCipher -Both streano (fpher
Uses clíffusfon. and blQck Cfpher uses
Confusioo.
Relaifon betujeenRelalfon betibeer
CfpherlexA andplaio (phe
(tpheret and keyis.
enA KSmasked by moskec by confusion
laffusfon.
DELUXE
PAGE NO.:
DATE:
lefsiel Strocturc fs Hechnfque useclfo
iqn of blocK.ciphr. dest
stroctuIe,the inclodíog
platotex4 fs Dts.ln fefst
two balvesand
fefstelfonHttvfded
fon ?sfrto
applfed JeraBive ls tothese balyes.
EnrypBfon process fnvolved fn repeaied
appkcad fon of fefstel
decryptfoo pOCess functfon.while
fovolves the re verse
appicotfon Fefstel fonctfon.
of
S4.Explafo
’ -The f
ff funcBfon ofth diaqram.
fs the funfon îo the DES
Core of fefstel algorthm
32-b4fopu+ the rfahtStroture4
hal of
takes
block) ard
a 48- bft round Key
B2-be4 oulpu+ åsoput,and procdue
f fu0c4fon consfs of3
(OTxponsfon PermuBaifon:
The 32-b?tfnpu4 fs expanded t
43bBs uStg Expansion pemulatîons.
DELUXE
PAGE NO.:
DATE:
32 bi+S
32 bitS
oUt Put
(32 bits)
aobys+ provfcles Dts trfple Nhfle
keys.
alqorthm& E fo0 lencryp
ple appltcafan of throughhe
rity usedtoenbanre
dcla he
S.ldiple'encypifon
Trfple and
Managcnent key 2)
DPerformance
Dfsadyanage
Redundancy 2)
Security lnieasec D
AdvanBaqei eniryptfon -iNul4fple
kess.
clistinc orthiee |two
totai
of sînq
Qlqorfthm
a DES
sBages
of 3 ofuse Makes DES Tiple
oithm. enrypitoo he
lustog
Cfphertex(onerted-to plafo+eX4
ís
fmes.lndhe
first noul4fple4 secl
rfthmis obfchan
ique
in encryptfoo
fs |Molliple
riple enypilon
ancd Mulliple EXplain DES.
DATE:
NO.: PAGE
DELUXE
maKes attack mfddle
Meet-n-the-
gn key bfi I12 2x56 DEs, Double for -
1C) DUK2 DCKL, P=
Cki,P)) (K2,E C=E
Forrmylas3
XE(k1,
for
DES3 DoubleK2 Diaqram
ths. effective
Key ondongen
4aster encrupoo
to due,
HS efffcfer
sfor
orithmlike efcfent Imore
DATE:
NO. PAGE
DELUXE
DELUXE -
PAGE NO.:
DATE:
Steps fo Cre
1.Naracfpherlext block(v)fs osed as he
sk nput to blocK Cpher
Q. The output o the block fs XORed sththe
icst plafoBtx
ciphetkt block
block to proetucethefirs+
Adyani agezi
Províde eror
. aAfon
1fKe cperatfor
bR used for sredn Cphey
2.(an be êphex lKe
CfB mode conbe Usedto enypt data r
ubiony lengih
DELUXE
PAGE NO.:
DATE:
Dfsad sonlages
A. JCiphertext Expansfon
2.{(omputo-fonal:vethèade
Q1. Oerente betweens
Block ipher Strearm Cpher
H(onyerts theplafo -4 Converts the plafotrt
HexA îoto (fphertext sto (ipher texi by takfq
block at à tfme. Hfme.
~ALuses. 64 bt or tvses &bfts.
Imore than GA bPls.
Time (omplexfty
Ifs Senple
Tne (omplexfty
es complex
4 oses (onfusfan a- Uses only (onfu
unellas clíffosfon. sîon.
Reverse enorypled-Reyerse
textfs
enry
4exips hau.
DELUXE
PAGE No.:
DATE: