Algorithm in Wireless Sensor Networks

flangeeasyΚινητά – Ασύρματες Τεχνολογίες

21 Νοε 2013 (πριν από 3 χρόνια και 9 μήνες)

85 εμφανίσεις


Source


Proceedings of 2010 IEEE International


Conference on Signal Processing Systems


(ICSPS), Vol. 2, pp. 640
-
643, September 2010


Authors

Gaochang Zhao, Xiaolin Yang, Bin Zhou,


and Wei Wei


Speaker

Hsiao
-
Ling Wu


Date


2010/10/27



RSA
-
Based Digital Image Encryption
Algorithm in Wireless Sensor Networks

1

2

Outline


Wireless Sensor Network


RSA


The proposed method


Comments

Wireless Sensor Network

3

RSA

4

Key generation

5

Select ,
Select
find ,
such that 1 ( mod ( ))
( ) ( 1)( 1)
p q
n p q
e
d
ed n
n p q


 

  
Select 13,23
13 23 299
Select 5
5 1 mod 264
53
(299) 12 22 264
n
e
d
d

  

 

  
The proposed method


Gray
-
level encryption

6

58

40

128

200

31

12

75

49

8

5
5
Step 1: (mod299)
41 58 mod299
Step 2: 256
41 256 0 41
i i
i i i
c p
c q r


  
  
41

274

280

213

200

64

186

82

177

41

18

24

213

200

64

186

82

177

0

1

1

0

0

0

0

0

0



Step 1

Step 2

Original image P

image C

image Q

image R

The proposed method

7

Sensor Node

User

image Q and image R

58

40

128

200

31

12

75

49

8

Original image P

41

18

24

213

200

64

186

82

177

0

1

1

0

0

0

0

0

0

image Q

image R

58

40

128

200

31

12

75

49

8

Original image P

41

18

24

213

200

64

186

82

177

0

1

1

0

0

0

0

0

0

image Q

image R

The proposed method


Gray
-
level decryption

8

58

40

128

200

31

12

75

49

8

53
53
Step 1: 256
41 256 0 41
Step 2: (mod299)
58 41 mod299
i i i
i i
c q r
p c
 
  


41

274

280

213

200

64

186

82

177

41

18

24

213

200

64

186

82

177

0

1

1

0

0

0

0

0

0



Step 2

Step 1

Original image P

image C

image Q

image R

Experimental results

9

Original image

Encryption image

Decryption image

10

Comments(1/2)


This method is not secure


41

274

280

213

200

64

186

82

177

41

18

24

213

200

64

186

82

177

0

1

1

0

0

0

0

0

0

Step 2

image C

image Q

image R

Step 2: 256
256 255 255
65535
Step 1: (mod ), 65536
i i i
e
i i
c q r
c p n n
  
  

 
For example
we know 60491, 7
Factorization 60491=241 251 just 0.014 s
1 ( mod ( ))
7 1 ( mod 60000)
n e
ed n
d

 


 

11

Comments(2/2)


This method is not suitable for WSN


The proposed method


RGB encryption

12

(123,20,45)

(87,36,64)

(94,58,83)

(34,75,48)

(57,36,84)

(68,95,98)

(42,69,233)

(2,74,164)

(0,46,74)

123

87

94

34

57

68

42

2

0

20

36

58

75

36

95

69

74

46

45

64

83

48

84

98

233

164

74