Lab Work
Lab Work
510|
Expt. No. Page No...
Eocasimemt-y
MenAage duthaticadi.com Cedaa
AIM
A Kpha Qleck Chaimimg MeAbage Authatimliem Csde
(ceC MAC) a a tedhiqua pon comstbudima a JmaMge
authumicatiem cedu u n a Reck didhun.
ORTECTIVE
TooLM hous t0 compLt thu tag Secum CRC-
MAC Ney am obiteHOy maskage aJAUmimg tnat UR
uith a pleudeuOmdem Pumsiom.
a u MAidad
PROCEDURE
a ststimg Junmgtn.
tne ualue o FCx) by bsuourding
SHep Gnt
Sepy Teacher's Signature
Date
Expt. No.
Page No..10
Ssp Qnce ueu haue JansUmt to use usth the boaNA CAC
MACeuRam umaloa d secu ithan ou pHapauim
Jumgto ou ou ulimg mltip
daNeuibed im Hla heu sectie, yQu ma dccOAdim
auGLuk uth the cecond asut ha echietimeMt
tn W simila to t h i t pou amd hamc
m nst daidead )
0 , 2 2
Teacher's Signature: 2
11110e1118aco1111061811ee113 1ee11011e01011001101e11
Plaintext: Next Plaintext
v: 110 - Next
Put your tert of size 2 to get the torrespending value of Fftext} of size 1.
our text.1111
Apphy Function Choose another FitIn
Funceion output: * * * * *
He *****************a********************ssenoukah. h e c k Answer!
*********.
******************************************
Compute and use your
key
**********.**..
11090200cO1111e0191010
Plaintext: *****
*******************\
******* -****
Next Plaintext ****
******************aaa-.
****************.
Your Plaintext:
*****************
Another Key
*****~**-********o.
******
********************
***
******************************"
Second Key: lee1e8
********** **********
Another Key
*********************************"
Plaintext (string):
Asimulator for SHA-1
SHA-1
**********
Hash output(hex):
-suumwmmnmuuassmmnneomoos
b7879e8712a2d1902efb13ddf65c9541db079d09
***************************************************************************
Date 11|AR
Expt. No...5 Page No...11
xpesimenmt- 5
Otequaphie Hath Fumdiema amd Rpplicaioma (HMAc)
AIM
SHA-4 å a pepube hudstic haa lumdion toat
CuHAOMl un uso n thiu ecpsimant, we dhall
RamilfasHine welueh uuith sHA-1 0A sll o so
o meimpeLdamt abpcoiom o oAimg, Damaluy,
the HMAC adggUthn. uhfch LHHUdty ed îm
the ttundt adier doto iteqüky
OQTECTIVE
Toumdsuutand tha mud,dasiqn and ablfcaigmy
celicton AOatam halo udigmb._
PROCEOURE
HMAC Construction
www
e101ee010ee11e011111011e1111100eceee1100101e01010001
e01011101e010111eec00O
Plaintext: Next Plalntext
*eara*adensasaddns*****a aaaaa
IV: 3106
A
Next IV
wodeandadoawd
Key, k:
**************a*a******** ****e*******.an*unnno-.. Next Key
Rapeot obove Ae
Cund inadly Cembude
2(Rt1)"zR||L" uwe L m,maler L?-hib
bydding gRs to luet ta tt.
10.J Combut pz "TV ||QKOR skad Jmamtally uhea \
mplied cmcatemdiom omd emt pin Yau Test"
Rield to get 0.
ocpexmemt -6
SumumeeicRey emcupatten Stamdnds OES)
AIM
DES
CHueeqtabhy slptum JpkeKdad hat ua aa
Rn m jmpla mendtatigon q DES.
0RTECTIVE
To Umdodtamd hA tO C
ett_ OES eDcpdMUMA
mplumetotim o a tilpl- DES Implomantasien.
PROCEOURE
Shepa Gunshade Plaimtest sm,
ssdtie uutne PatuyA amd Ry
1 s the bu dicdmg om
Jum Uatin
Stapamn unanated plainterct m
Y6U tenc to be NLm Pot 1 to Pam-TT`n.
emcuuoked | döcustedbledk.
Ste mtem gemasuated
Shepa
nuuA ugm ut1 to
Ue"SAsdR omd dfden DES PatII R to be
emtuypt oufon to
Rrde muaded
dphustbot
FAAedh 4o Pot in c4
am
*YuH Art to Pot I n Qutput
daopted:* Woch. be
emculates
Teacher's Signature
PART II
Your text to be
encrypted'decrypted: 00101001 10111101 01000000 11001011 10010000 10111101
Key to be used: 01000001 0101
b60f204c2c7fe334
| DES Encrypt| DES Decrypt
Output: 10001101 01001101 11111000 01000111
00001000 10111101 10010010
0001
PARTII
Your text to be
Key to be used:
encrypted/decrypted: 00101001 10111101 01000000 11001011
10010000 10111101 01000001
9064756932df4c16 0101
DES Encrypt| DES Decrypt
*****
Output:
00110110 01111100 00011111
11110001 01011100 01010010
11010110 11110
Date -- - -
Expt. No..
Page No.
22
Teacher's Signature:
Date 17]I1|
Expt. No...
Page No. 15
Eocpesiumemk-
Summetuin Key emauuptiom Stamd0uc CAESS)
AIM
In ib ecailuimemk,iyU ae adaed te QmCst Joma
nAkCgeh LAmg NOiSLA meds) e
dpeuaiom utnieim a
DeTECTIVE
Ta umdutomd n
mud atuumgha amd AARmo
NaGA Madis o skeatjon
blech ciphan
PROCE DURE
Step Ch8ee 0mgde a apRHa kiam
MAm out 1.
Shetpa Seluot RuAge,
Omd CT
plointthdt, Ruteadt
,
`ntialigaion KNte
8n Por
Teacher's Signature: 6 . 1 2 . 2 2
Date.17 11l2
Expt. No.....9. Page No. .16.
ocpoimamt -q
Publie Keu Gptskern
AIM
An thi ocauimunt,,M Qie am implunemtatiom a
text oodla" RSA AmdKR UAU ta daNgm a seCAe sAtem
Smme witoiad pulblic ey stamdaud
08TECTIVE
T wmdLatamd PKCSVL5 Scho.me.
PROCEDURE
12.02
Teacher's Signature:
Date 1 11|23
Expt. No......J0 Page No...I7
Cocpeimemt - 10
Otaitol Sanaluna Schame
AIM
A diaital AigmakuAHe Íi am authmticotian JmchamiO
tha emablua dha CAte RPhe maAAage to attoce
a osde that acts a e(matuMe
RROCEDURE
Spl
Sohlcorda maphly R$a button te qRmgHade a digitol 8igmaluea.
Teacher's Signature: 222
Date 1712
Expt. No...9 PageNo... 18
climmemt- 8
DIRRLe-Holmam Rey estolishmumt
ATM
An thia entoesuimeMt, UR dÍmudade ciutaim tey" AUAiAND
s the psloula.u Diggie- He\mam Secue Ruy eocckocima.e
ORTECTVE
TumdtUstamd he OH-Re enCdhamaepuGterA.
PROCEOVRE
Asty, chdese a Jauge 0wmo numbth p amd a
o 22 2
Teacher'sSignature: