Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Vsun iliadnh

Cs304 20215|195

(099,0)
6 (o,,0)

S conbe obt nd them


the nenttond tasfomaton
Fheing tonsematin rom Roso 2 to Rouo

bts
S(aL, )
Vaun Vadvadriath
621SI195

1 D

00

We ol use K-map
K-map to find , t,Xs,4

Ia D
totouw3
sing kind sirsila
medthanfe 2can
be Ron
Row
ath Vun
Conbidetng4 aleintext Pweh is divided
nto n bocs xed khath theede

The nnption in tounte, CTR) ade 2s dones

The encyplien pioced Can be degickd as


a fhochat
TR
K
KEncl

Ch

Gpheteat
Decyptni
CTRu

Enc Enc [ Enc

Mn
Vaun Vilvadviheth

Ftdertly he ercypien and decyptien aebochbot


fhe an ndepen dent 4 evely othe
Hence, ehCpten in CTR mode
pelalhizadehdently by. pecosing ech blocd
theads Ccoo) and ten
ordatha he proceted bochs hn the same ode
there befoe Processiny
34me
CTR Ene
Enc(hrevious)
ae
V
Enc
K
Enc V)
Since CTR
CK
Enc
OFB
mode G=X
Enc Cphexteat CTRnode
Hence, CTRi
the
dinath
Vilva
Vaun both to
1epeat
200|515 in
eoöy Primive.
is
is ve
K,CTR;) XAX' Premtt
r?H
Cheching, (9
o
En conptation yH
eaiod
13
O
X; this
But
G;= reptat bCherkng
henceCabe.
nod
theotem
remetinder
chnese i *3
n; S,
mod l6 nod
2,23)
cinpute
Naun
VilMadrinath 72
20
2021SI15 M ,
Xi2mod3
Using
modc)
31x3)
+t3x
1=3-jx(38-Bx)
35l05
= |3x
-35
=
l05
l05.
Z=N=
=3mod =3-2xl |>
2x4-5 l=15-x2
(Inase
=Rx5x2
Vilwadirinak
202\5||q5
Vatun
|75B0
=
az=23
a=,
al2, 25-
12x
70428x2X5
702
13x2Bx>5
=
-2x702
lmo25
702 26-(67s-26x
6x
x26x2
A=25
|2x2
25-
-200
2)702 M=
=
5
-52
-
202|515
6Bo M lned2?
24
-64

2-212153

XaM +aMN tanode I750

Irine factas o n ale p=l,= 4t


(29-DC41-)
=13648

i By usin extended euclitan we can ind d


2015115
3
1261)13648 99) 12.61 26) 14
- |64 8o
934 193
2

133)267 24) n3 45)24 2)45


45 -29
45 29 16

J6 3) J6 3)3
Tl6 13. 2

= Ba-9(45-9
=|3(74-45)-45

- 60 -3()
=60(6t -7)23 (r
B01 (26-8314)

_5717 (26)-2(i 40
J01515

d= B42
in RSA S

Vstng the (ode Souae multply, avsw) is


Conng out to be B?46

Possi ble points deived usig code attached.


0,4) 4, 1o) (2,)
0,1) S, 6) &,1o) ,)
Qu, 0)

:. Theve aye a total peints en the Chae

axtb =y mde
y'modp
(9=ymode alx-*)
a an be founde
these eist a -x)

V$ing Con be hurd


Q02\51145

Sappose that

I<i<4 It be the
must be cabe that )2
Fo <i<4, defiro

then we expect thal


hence the keyk_can be delemined.

h, D) = ax mod n)
hlo,y) = by modCn)
+hlo,y
(ay9)= -ho)t hlo,)

So Ue ae oble to qRNCiak
genela hevo hash on the
bis otha hashes
Hence Can this as

You might also like