# P: 3946183951 A: 537680305 B: 1059676324 G E : [1152222263 3133703258] N G : 3946206427 ε : 100 : [3539395206 1802765602] Plaintext: Mat Kunci 32 bit lpesan.

## Presentasi berjudul: "P: 3946183951 A: 537680305 B: 1059676324 G E : [1152222263 3133703258] N G : 3946206427 ε : 100 : [3539395206 1802765602] Plaintext: Mat Kunci 32 bit lpesan."— Transcript presentasi:

p: 3946183951 A: 537680305 B: 1059676324 G E : [1152222263 3133703258] N G : 3946206427 ε : 100 : [3539395206 1802765602] Plaintext: Mat Kunci 32 bit lpesan  Panjang pesan = 3 (b anyaknya karakter plaintext ) bpesan  ceil ( (32/8) – 1 ) = 3 ( dipotong setiap 3 karakter ) ipesan  ceil ( lpesan / bpesan) = 3/3 = 1 ( pemotongan pesan )

M ASCII 77 Biner 1001101 Biner 8 bit 01001101 a ASCII 97 Biner 1100001 Biner 8 bit 01100001 t ASCII 116 Biner 1110101 Biner 8 bit 01110100 Desimal 5071220 m pesan: Mat

m = 5071220 x j = m. ε + j, j [0, ε -1]  S j = x j 3 + A.x j + B (mod p) y j = akar dari S j P M = (x j, y j ) x 0 = 5071220(100)+0 = 507122000  S 0 = 211020104 y 0 = akar S 0 =Tdk memiliki akar. S 0 (p-1)/2 = -1( mod p ) x 1 = 5071220(100)+1 = 507122001  S 1 =3164013225 y 1 = akar S 1 =Tdk memiliki akar. S 1 (p-1)/2 = -1( mod p ) x 2 = 5071220(100)+2 = 507122002  S 2 =1267370450 y 2 = akar S 2 =Tdk memiliki akar. S 2 (p-1)/2 = -1( mod p ) x 3 = 5071220(100)+3 = 507122003  S 3 = 2413459687 y 3 = akar S 3 = 3301895794 dan 644288157 Titiknya  (507122003, 3301895794) dan (507122003, 644288157) ………… sampai j= ε -1=99. Dipilih 1 titik ( P M )  ( 507122095, 1075291432) Dipilih j [0, ε -1] = [0, 99]  j = 95 x 95 =5071220(100)+82=507122003  S 95 =375659790 y 95 = akar S 95 = 1075291432 dan 2870892519 Titiknya  (507122095, 1075291432) dan (507122095, 2870892519) Dipilih 1 titik ( P M )  ( 507122095, 1075291432)

pesan: Mat P M = ( 507122082, 307629979 ) m = 5071220 ENKRIPSI ElGamal ECC k [1, N G – 1] = [1,3946206426]  912120288 P 1 = k.G E = (3227285189, 2965666882) P 2 = P M + k. = P M + (736261778, 2068514041) = (3828826938, 1504649631) P C = (P 1,P 2 ) = (( 3227285189, 2965666882 ), ( 3828826398,1504649631 )) P C = ( 3227285189 2965666882 3828826398 1504649631 )

Presentasi serupa