Professional Documents
Culture Documents
Cyber Security Lab
Cyber Security Lab
Expuimnt-I
Shift Cighek
>Ratae each ntee
for examgk, if k a 3 thanA
Decsughon Dec(x) =() mod 26
Example key =3 and Plaintext = "ATAcK
Enc)
Dec)
Paoblem with Shiff Cphea
Nod enough ay
back
Pxoaduei
SkepI a or thu qien (iphuutert in thu PART1 he simulatn
to deuypt it ang each
and obtaio
the asapsnding laintxt tm dcsyptien,
thu taa! giun in the PART I| the
Aimulatoo pag
SkepII:Af each decsyptian, you may cut-and- pak the
ultant plaintxt Athu acIath pad. the pat
BK Birla lInstitute of Engineering &Technology, PILANI
StplLaEinally, obiesue thL plaintcck and chaosc dhe most
ciphr txt kR Z D w H 8R X
For =22
plain
BK Birla Institute of Engineering &Technology, PILANI
Tox t=3
Thoy
uyetanal.
Notc that the quency af sceweuneL af chaackuus
in the plaintat ia "pusud" in thaciphue tcxde
toY mstaoe, ae most uquend chauacke n the
plaintxt chakacd "" which ia the mast
laccwuing chauacleu n Engahe
Mono alphabtic sutstitution aphex
Considau ust hae the plain tut
using Sbshtudon tableu
"yptgsuaahy
can enuyptaur pla
y
follouj=
Platoa h cd e 4hijkmnapqIStuvwXy2
CipheJI
elain texti cIyp1a 43aphy
ciphn Hoxt N
BSEZ w u c SJZ
letter
crglteixtl
BK
Birla
FGHTIJKIMNoPiaRSTUvwXy2 lA
l={.So totHe "IMokt
iVGLoLle
OFkGo
ati MHHe
and couni
I=.tutons est he33292
alphahsiesubsittion th Number BlcDIEMSESTKo
iphk
Neno
JnDOMCOTMCOSTOTGNSOwNcUSRGCDSTCN TOTWCG VowLSD
N wFK Institute
he
LMCOTKOMSEkSWIMCQTGAUEC
WNCGDTOSkwEMCkso
SCwFO
kt the commonMost
Heyete Ka wITETSLHIJ
Ee Jea NaG See iuen al w
DDt He followed JE of
JtioG1ol
KED Fkeo T
D 91L88 rcuMMLDLeA
wlkOEYRCQYwIGCoFECDoCDSGO
doMaiMa and iphe, NSOw Engineering
FGtolKtFYRa Qe lMa
ALHe KoE
JE?NelMiT O=t ky HTHCOSYwasCGHCO
YSOSJO"
leitiG
QiGAUEai ue867468
EeikGolE Make a seDTO_SYL
lwe Similaxy, 'o abseuy cach
Neto tunu &
can TGKTG
HiYol GeE 6153 alphabet
Technology,
Ja that H
iduce ileMade
GatFEa Di Ve KiGo u W
ue HCK
to
0e NR
haH make 'S wFEZE
FEZEole 52
Yete NoYLMo G 61 i TtoH
ko haA E
Geo aNela WEA
be J", Dia Hak C=a, the 49 ciphu WISKKIWG
the SESKE wo PILANI
a G kkio 46 MO67
YLMDeGt 0¬o sukit
W=o text SYSOS
and high y6 poo
FA 6 SK
BK Birla Institute of Engineering& Technology, PlILANI
hunys
Venam pmpased a td- wise exlsive 07
message stucam with a
stean hich waa shaud hy sendh and sceipicat.
hi iphu i
The intutian iàuthat ans muaagt can ke tansfomed
inks any cipui by a pady and all tanstunatin
thasu uA a pad which add to the muiage tz
qiue Qk and anathH pad which dds to tha.
NO. Sina eitheu ihealpada
b ak
SENDIN Gu
pad.
XOR
Ciphex
RECEIVINh
eipher
pad9 10
XOR
BK Birla Institute of Engineering &Technology, PILANI
BK
Birla
SA
CBC-
pasbabilty, I4 ky
MAC A
omponenk IMAC Thuoyi
Authunhicakan
Data unctlan
m, A Gemxahr Alice lnstitute
veuifaiant ky fhatuse
minarlg
MA ha
C
(anskuctan
musag qiuen lyomahisoinuatan
thi Authuntiafao
Mage odw of
aigonhna Engineering
xpesiment
th
alus mÄage
Alqoihn
n algoitnAuthnhtatian
qenc4k
quarakor,
Ey Cec-MACfo
a not
ing povi
t m
hat
maditiedi anda acceptelat mI4 ded
&
uaksas th at hat veriN Technology,
tue
Paatacal
aKtuuna aubitay
mmg
with aan
then Geraratr KMAC
otheruise tag t a abusas (m,t) (r,) G(m)HA
bit a ’BoB psederardom
ith saceet -
h a tsue PILANI
hig
taíat. vengkk tag
thun
tor
BK Birla Institute of Engineering &
Technology, PILANI
BecaduLL&
Skp IaAleat a plaintzta he ociyakd.
SkpTaSalect Auch dhatl(length a plaiotoxt )2.
Sitplil4Slct an. iitialzafian. Vectnc, TV f length L.
SkplVa yet the walue F(x) by pmuding aaing ng
4eld ediyoun txanl cliking
Eunctiom, Rpeat thia to as many tmy ad
et th
con
chang th functian if yau uh,ta
Skplaik ta fiual ipha kext in ha 'Tinal Qutput'fll.
StepVL Ona yau haue haunt te wok uith th baaic CBC
and
Ohjectiue Ie undeatand the ned, duigt bast
applatan collisim eetant
funckoms
Theony
HHAC Constucn
kepad
P
-epad
ke
>HNAC
tag
An thi expuimnd inskad aof ing a tull-feded
Leao collisfon sistant hash funhon h, we haie
acad t with a "dummy" unctsn h. au au askd to
hsumn
Lollisionsiatanet abaut tai qiwn tuntians b
Jaaa sit to duag HHAC
BK Birla Institute of Engineering &Technology, PILANI
SkplViAlet
huten
SkpValtie thu ipad and opad as discib1d an khzany
paxt te camputk tha ciphttxt with th kelp he
hah tunctHn pmided tota you
yai
SpstDiuide gcexated plaintxt Im int say "kchunkI
&5k and t chunk ill haue bit les than to
make it B-bik hy padding 2enOs
zexos at end,
heMa |L
SkpiT :Coomputk z0= "|V|HCE xOR ipad) manually text"
ipies csncattnatísn and entr 20 in "Goux
Raund16
64
Reund 2Rsund 1
bit
plain
iphu
4-bit
teat
text
48-bit 48-bit 48-bit
Kis iphDES
BK
Birla
-bit 56 trt
yenexad DES Objectie Institute
and
A
duche a
catea Symnct
>DES
CGpher
implmuntaban
montatian. te
Block aTo i of
64-bit
cipher
text 64-bit
plain
text cipht, uodiscstand Engineering
a
a Ky
64-bit
DES
which. Encxptia
ciphu. how &
takes
Technology,
to
txt tuipi
Stundaxd
cemveut
64-bit -
DES
plain
impe a
[DES) PILANI
DES
BK Birla Institute of Engineering &Technology, PILANI
Boceduuu
StepI2lyasate Plainkeat m, kay Aand tyf hy clicking
n apect ue buttm PARr1 the aimulatian
pag
Stepll&Sotn qenMakd Plaia tcxt m awrm PART1 to PART
text to be entypted/deyptad
tlocke