RemidiUas_4611412001 (1)
-
Upload
afif-sanqaremaniamylanysty -
Category
Documents
-
view
10 -
download
0
Transcript of RemidiUas_4611412001 (1)
p 7
q 3
e 5
Menghitung nilai nn = p*q
n= 21
Menghitung F (n)F(n)= (p-1)(q-1)
F(n)= 12
Menghitung nilai d Dgn k= 1,2,3
d = (1+(F(n)*k))/e
d1 = 2.6
d2 = 5
d3 = 7.4
Diperoleh nilai d yang bulat adalah 5d = 5
e = 5
n = 21
Enkripsi
Plainteks m^e m^e Mod n Chiperteks10 100000 10^5 Mod 21 19
5 3125 5^5 Mod 21 17
6 7776 6^5 Mod 21 6
9 59049 9^5 Mod 21 18
R G BPixel 1 11001001 11010001 11001011
Pixel 2 11101110 10001011 11101110
Pixel 3 01101001 01111000 01100001
Nilai RGB potongan Citra Setelah Di sisipi Pesan 01100001 metode LSB
Hasil stegoimage
R G BPixel 1 11001000 11010001 11001011
Pixel 2 11101110 10001010 11101110
Pixel 3 01101000 01111001 01100001
Hasil enkripsi mode EBC, dengan kunci 00111001
Hasil XOR :
R G BPixel 1 11110001 11101000 11110010
Pixel 2 11010111 10110011 11010111
Pixel 3 01010001 01000000 01011000
Geser 1 bit ke kiri:
R G BPixel 1 11100011 11010001 11100101
Pixel 2 10101111 01100111 10101111
Pixel 3 10100011 010000000 10110000