0% found this document useful (0 votes)
12 views

unit 2 CNS

The document discusses various symmetric encryption algorithms, focusing on block ciphers like the AES and the Blowfish. It outlines key generation, encryption, and decryption processes, emphasizing the importance of key size and structure. Additionally, it touches on the principles of confidentiality and authentication in cryptographic systems.

Uploaded by

minnumaha2708
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
12 views

unit 2 CNS

The document discusses various symmetric encryption algorithms, focusing on block ciphers like the AES and the Blowfish. It outlines key generation, encryption, and decryption processes, emphasizing the importance of key size and structure. Additionally, it touches on the principles of confidentiality and authentication in cryptographic systems.

Uploaded by

minnumaha2708
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 21
mow ge CUE guoshoermt owe than txanseo sition . 4 Ay re ig es UNIT=2, SYMENTEE KEY CIPHERS Glock ci hex atari «5 on encsyplen and deceypo” methed hie gpuatel om the block! ath plain teek , jnileak ob ofevaltg BLE plain teat Spasiakely * Gach block js ob aha tithe | OO ads blocks ty en each equal gize pnd hor fre ci phos tet — os fplocks ceol be +the vo: ; ) , ? > > > > re ain t t *, el . > oma also hos the gore Me oh bi 19 each vleck ch wleck a ok play tevits dt” uses fare Rey Sox vigepe my plien 3 decryption, Bota Encryption ¢ Stondosid ol aide Bee a 6 > Blok size is 64-bit, » —7 de Fortes Geistel stoveture " e: ' Too wese wrthe Glock cipher techntfques fot — Any fertal eheveliee, aa pee bereure . Lehninue.,..., divers into & eyrk guess 1 UP Ud Pes is a Lymmamtsic ty! Heck ctphext Algouttlem, > 49 Fest — stevctue dronsmnfiion undengeos. Sike balmo Sorerestel ay PT ipiauel ve eT kK—9! that, ctvamsmission wndeupont FMM many Fourks que these args wea mous tg Sr Fic MAN TE get de astght and grom aight The gems to dt Anonsnates on, yom 38 ures fecomb Heys, tid Keys ante cata 5 "Fuly Kays”, \ SRT convert tte ct ov rriy ste fs 66 -toiks each Rounk have uipauote 4 tdepont subKey Gotal 16 mk : > Sale tay sre is aachits. Keys) =r AE Gast we got cipher dexk , ciphen text ste & ie CT Ser Bie *) Shootd ee samme , 4 bil pln tok wv te) ae ay 20 Lits Noveb. mounds +16 Fey Stee 12 fub Vey Size oy on bits ) ce bits pesdersn Gaertn Cipher tert Sze fot) AES dollows Beng steps & —> Byte qubttlutfen SS aS shifting apos wicking colt Was bit PT, cngptfow, (Tintern Jo 885 Ware) 4 lee Eman + er Me) Cook Nw | Cong 089) stegtig 4 iste} aan Gdddéteooooeoeononuonn”* GL tsa yven cipher Aigeritaon Symmesiic ery tography — Algorttnrn. > 4L follows —Fiatel — Strucluse. —e plein test Size “ts 64 bit : wr Wey | 8128 > {Lett ave — yatiable sth. eee ceesy = 448 Ut Will follyo 9 steps: : ened Generation + D)@ata Encryption "Rey ee 9 spire eters in all onsoy Nika) 7 Ke [ieveta] Or rae Rees ey ai, : 7 Sutalize an amt (p) * 4 ee i: iste ts benobh by Py) IPS => tang ob each Word Gg agi pil wp swillalse 5 4 GH) taiale Sobel ats Liter, Pe is ee ing HD Stem: $\—¥ S08) --> =~ Suse G9 Si, EY see er 75 5K. 5 rte tise - + --Sa5 $4 > fe Su --- ~S es wo Dagyiwlice” each dlamek oF p-evtey BSE Tas Ipetadectvnal values D) won op tiatons one frtttte portowrrd pakusean Parity. anh ey ora j P, = fr XR KI, pee M wok Ke Paahe ror E> Pas Pato Ke , Fra © Pa 1 Rie fis © Fis XR Nw Cree Genres er Me have fey 3K=4 Rae fin Zor Ks Rar ete Me @ pola emeyeben:. ue ee eit prea . ® ® . ° ° ° = . 3 . = . 2 ? ? : *dintermational @ ota Encryption Algost tun / JE LE A low aiphen Bnonjption — Agritom FAL Pellet RIEL aL ctuve: ei SR 8 Smt tay ongraty | Ager Be pet at fap je okbil =< Voy size ts 28 Rr eing 6e tule Heys —P Number dr sunde ae Sreven Reord uses Only Fz odd Roomd vse a Pt oe bit Gui> oh eS ap [HasL 16) -> cipher teat - Bem ince toons Compras Gop > MMvle wlg ot capo Pay Heys > 4 dnpeb Fog wy Me A ig eye Ka Ky Ky MA a Evo Novaben_ Rovvd —_Enewyplon ants pots —> Ko Xn Xoke impak Kei > RH ke Ky ethno x ep Ke % Yin > Xin @Xy Ke Zin > vox x ie Ke o sub rege wu ts ees en he Reg Ngorithan-. (aivest cipher 4) date veclw Awxy. ~ # HL ces an arssay(s> which catle A vals Somgth js 256 # dH hor 4 Wey encoded otth ASCEE 5 Yes caxay tughh is ose vile coe ec, algerie hes 3 aleps lo Evewpl the plain deat. D Key schedulivg 2 joy sheeax? © Genmnalion >) Cheapo & Leayption, Day sched pT een k= +340 > gute vetlr Acsay 9 Ty lempreasy _veclor Re Se (S4se+sy) mod 2 foe bon () ter dee Je (ote t red 2 Je (oresi ed g fot mde jet swap (881) S- [102,445,659] ti) tow Je (as #8, ered 9 Se (ie ows }wek a ec re sore (Br) 89 se [31 ie oe 2,0 141576) Asay Te = [02/8 56-4] j= [oars ys9/6] 7 1 By 0, for Enousplion tea, jek b= (Geen ¢esdeede Se Baste) mde JF meds ge3 S00 Gs, 0) S=LN3,0, 2, 46/6/47] W) tes i=a/je3 J+ (st sattadmed @ (s4248 meds jimeds = 3 Stoap ($3, $3) S=[1,3/0,2, 47876,4 | ena ea W) Be 124 558 my. oem rg ggeneree >? 5 = (B48etSs)moke Consider upiated stake veckoo ig peor s= [130,656,304 bake 0, foo = eres Je its; leeds FRGryted~ed 2 eth mek a soap (457%) vse gpeparert) sf iD fou. t= 6 Jm8 Sere wines j( sr Set5ad mela ee a be Gres) melt @ 5) med & £= (648 Jmol ¥ > it 1s, mode : KeS4e5 pera [bore 2)) Se [13/0745 2/4/6) Bec eo HOR ppesates —S 206 NitiD foe FeO Je Je (+ Sat Sa) wed = Fapere) med 2 Jn (@) woke =3 Seaap ($9,538) Sa [8 1076, 7974/4 ——— wy Sy SS eS Ss SS RCs Agostton block cipher — 5 yr biic cay png raphy Ago xd ts 4 ie anigned by Ronald Rivest a AB Gellows Aiveml — Seq e eee slads Be “etch Cian on “eonls Cade e lig a atts is gage entree een tet openatious e SE altos vattigble | number ety woods 4 vantable bit ze vey NOT tre 414/92] 54 Neo gounds 712 Ye she 0255 No. 04. wb Heys +79, 2. 3 see MO Tg sacar e fates oagontedtey, ( DOVRVPVPGHKHKHRRRRABARAAAWL Seatues ob R52 f ite awtbebte few vlwsslos 2 Ske Bae eerie te preetots sh ofr Aleman 7h he vedely novetr. Pounds —> K bos vasialole Dungih fey ge pkgs 4 troll Pte tas pelo meres: He tte! pea gh eceurtty data. * RSP Algostth pir ands Bee Rival — Shaws Melee Agere 7 i wed Pepe tn 149s 2 ctphen. Algoctbon™ va isa romekvic 4 Bleck i —> 4b follows O steps to gertorr enaeypor + ee FD vey Gener aor es an @) 2ncwypber # BY) Beene * sii 3 Deg Generation: we weed to qotlow of steps Mut Bokeh a pare —rlumbonts (04) Ae pea gett Dealeulale, ‘yy/valve we P*4 Ye are 93 D caloilale gird he le = (pCO BOD 2 #10 cso! te 2 g(n? ard oD (p6),2)=! pe bee Sk denon, Dz 623 © citadel: deen! med find Qe web glnd « Ayes med #0) axe med G00) =f" axis med ro 24 ©) pubtte ae eon yo Peg, pace vey = hing = £41999 Even 2. had oo xeuygnra Encayplion | AlgesTvo dt isa myname Hey onyplopanph y Aly exten, bed — oy aiscacte Aly. Fd Follows 3 steps. D Key Genen aon D encay pion peer AD key Generation gtep- 4: gaa pm pee nemo (Pe) 6m p sie (2 Sage bs deck pateate My valve (4) se asa} Step: Bdact oe oh eeu 3) mo eS kee-B wlect oA a ah emenyetion Key (22) ey2eAmed p @y = 92 mod +t) Shep -5. 1 2 = 9 mod > — Splice : 0% feyper,29 Coane Nee Core 1) Qenayplion: Bepeds adeck we Kandew Sut [ead dip 9 “caheulate Le ex*mek g 1 = 2 ved re 1 = eyed ap fmegen "2 I : a dus pot cipher text. coloulode Cot eet wok P Ger se) plein vTexk value. Bn aa ae Ge (axe *) ek" Geoesae ved o> 6 i, ued — (9 D> Be ion? ae SE aa pereor ] ed \ Bee)" xb med P eed 8 fa b)med pore 6 md (nay tned u dek (22) med, we Dd Ae mek te 7 Jomed le xelos) pages : - resqwelstc Key Al SH wa a sige HY gerple sho veh fe weceive the & sp syrmmtaic hak vecds ble shaved among he enestage, Fish, Rey / PDEA HES, pes, Blow Hey —_dlgostion te eneaypt a plaw at monet toys ane ange wlw. dé tunes da ways ee we aileys exclumgal ncn the intewrek ahh a, 4ok vratictous peas Ao nol wine _8e- 856A) Elgeomls 058. Dittie— Hellman bey, eadronge Ai # BL fs wok OM enayplog warty Atgooithyo. eat uses to chowpe Hay values belueon SL 1S Asymmetstc exytaparhy Algenitlio Parocedine 2 Dcmatden a pple — number tg / ui Be Aaleck we! such Wak tea omh of , shold te patynilive Senden 4 Recenon | TIS Ss eset vsurddddeaeeeseneeeeeeese” D Aasume Caleulabe Xa (ris a porate MY oh aan lY [Ya = wt” snot ¢) Where yet, fal aes! Seb xyes 9 Sel 25 pPimd ge 4 BS mal 9 = 6 of wrod = 9 5” med oe 9 58 wed FoI 4) assume yg ¢%89 Ca) 1 (od 5) Cobalote secvek eh wie Peutood yy = OPE, ake aon Rectevert, Kr = C¥e0)"* ved 9 Kee Cra)" med Kis (Pred + Kae (6) mod 4 pe Biood 4 Ko = 296 wad 9 (Ki) (R=) P MUNCe Ala grtthuin ‘ 7K ake both ae Bhould be eoyval ak lost alep tor eronly ue Soy TL is comrect{tey 8 exchangel TAhewe one 2 principles 4. Authonlicalton 1 Qs Condidontiality. 54 A. dudthenlicalion’ 4 ms 5 rey pionl eign. lax Recto Via we om - la. CooktQnbiolilg Sender __ oor b ka Sai st — Hod both emery & Becrye Kuy hos te be Puevidal by 2 diff Sources whexeas Qn | axithen Lcabfen single Hey source bye |wheswos tn __Covtidenbyality we howe Rae | COR isle athe a | Alene _genenated Keys from A abe, Supple | Poy and: foe @ arte. cusp Pub ite to Sune Stde obo 4 and wi AES thd f., Sic Pula oe te fe tate ob Y me Nisido oy pe. decd "iinet ais. nad altel ont -Q aS¥ Pont bopfo—q 2 we] -sivenry ‘pheoy, mig pPlofy Peye t asae iy 5 te divide do tyte’ [eipieteoe\ at an-aee 2rabot, LU denenates ) —Bitwie OR 5 peutosmad + t 3 | Ge oor sy _KoR ff both Pee Maen tag Yoh ot beth ase same we gel Ale Hese tm @ncwplion' we get a Key sp pol p. Can ve encypied and to Pacey aren ne ge oe le jon Ot cr to PT Nore te ta, es a is. ete, ‘al Boas a mi "eee 5 etek a Gh OB att a the i il get 6 = NG p lb) 16-6 1 Se eee ee ce Gab ke pis — fato 52 Sub hye Fo at 8dd__ srw, mT Comat) Herta | Que purl vA) — 2a ob Round tie : ss : euk pul Ka wth Ka ghes Xa. we with Ka gives Xa, Mow to ore Secustly ayy keri ane tle > 4 Pout a combiye combine Heys => Q. Xa fy Xe Th saw tbyoplé 2 =4 but oot) Toke 1S ‘I = x 4 ae NOR epeation i 1 Ws os ena ee 2k SH Xe end and Xp othge oR _ppenalton ~t0e oo aad fod, sSmefte_Aeak— Xe 9 Ya with KOR _pposal wane vou) Ke & Kt _—_— baa eee ete —Sstug You BT Sea Xe ev asia — ket JP nn Me eve —y wd KS KEeee Voie 60 AS Xe @ i zoe > wee%e es es Oe aot ee 4 Knap Sack Al Hell man > Pe Reted [croabod. —fejnnebte “3 Cry plo-qve we wavit —Som=sp we Select Wee andisher 64 4 6) deh PT 2 190) 1 Ve ear 2k a = ee AN Ppa (Qa Roa Genenabion @ Public. fe Key. (ae ig by Gang Weep) Ree aire fest (Tey we Mind pvt Mey fest) $08 tule, 90,404 wright axe alwayt in fncreasing acer» 4s fies tod ut’ Kay CAssum D= fre, a4 4o Y = Pvt Bey guleck & numb: Sp he Nyaa vn) oh alt nuynbar jo B9yvene. Sumags ek mS tro’ ne ‘90 thal | fk has a Commo facto with 4S* post => 100(03=tx 3 | +0xX62 0X (E+ beg OX D+ OX 4 = 31490 = 1a} oT a poked W108 = 1 a OX 4n+ OX Bo. = WNF65 yy4 $ID S19 C.-T OF Pash foul} n => 1X3) Fox 62 9°40 UE 1090 + bcd 10X30 cat = 3I+l4495 +9 = 905 Au 0T sfiei 194 205 | Bl 2 iyned lO =1 Hon we se — wn Si Des 112 4, (0, 2edo Cates) met ye = taoide U+tio = LSS Mod Me = t= N00 (po att =14) 805 XH med Wo =a5 = aitio (1-4 20 357) \X seme num ynok tto -we_ az gab. 3 \

You might also like