LAMPIRAN
Lampiran 1 Tampilan client
Lampiran 2 Tampilan server
Lampiran 3 Tampilan saat melakukan koneksi pada client
Lampiran 4 Tampilan saat melakukan koneksi pada server
Lampiran 5 Contoh pengiriman pesan dari client ke server menggunakan algoritma RSA
Lampiran 6 Contoh pengiriman pesan dari server ke client menggunakan algoritma RSA-CRT
Lampiran 7 Hasil pembangkitan kunci RSA client private key=640481329873587826404475646052732302276416604796357435373040346050778958841824 6607346484501331129371391572754636178689967337969124424245343280367288271166873007 5116595175591595071623911017117488103851798236719667571974060845605731795229928399 751813855943493524344703167320520056331172594869127525856312555333 RSA client public key=896044933630597190288613948454646534193393425734632879539821649250291399842387 9344768204819377483735999348993928727565468874554008056180319405815582696885037973 8096634016083072669605076046511537537476655072835222164005031619029469870354388483 396046047103083206623013156723623325641343150232093959634283493089 RSA server private key=367549238937543034456980094519044543021365933089513225420497939583810965495519 9338783479658096016240053305187014276327322299974200488594606855791955690216605270 5193216739564843275086224284740960267086475713440623328917774661036792181144247601 117244570865920163143923850452097888237059132887572737430621539533 RSA server public key=695242718626425313857104639781066822985864841310573159418800284772252121271102 5458650183460404612703101955783801039849445019003353174041756847866695531348379976 6588738785442906188455137992881482345347278881521375803032096034769987287213578502 790300205138019550355801005159072495851966787935688683810573108897 RSACRT client p=12197060040134503044036695375431469360833209006364785885781133087581096848795565 4216176335302694924925567485428636259725861885847804471844549456886072597171 RSACRT client q=28192622511022606281387733657569900036738363446259435345167003274702450571628580 5248251620813014638243772464389272312119721572938101805649963826038877957 RSACRT client dp=1179264403898687231460611815873231341959252720568988957179357793248834430515712 05178048999956054766360737570329739047580290714174592711811008007478662496713 RSACRT client dq=1275479892964005487347828406773193060544871562905827636272947567168054167033564 8756596518847530225710557171626931235873399369268679858000093729407895893 RSACRT server p=61338420703901547645720675237406331692590684478724426312958418762698094138483272 880272374819884226074097023034318666691069959891022863944890424596019127 RSACRT server q=34561055860456870659591298471601610899140170918956695344003984865006715472777261 4049454276358943599583613589526568827153975580566936233268228626165750117 RSACRT server dp=3025225097902268527019285877746440727069607541397698447768062269659414524372789 1562156399763539952078872058158571223331178636702283168764067522074814627 RSACRT server dq=1744585272404342882891495393499129486801890740102423662008239356858190276134729 02604392120031532907539635698440849442908705313888572630254353104518292649
Lampiran 8 Contoh plaintext Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum convallis. Aliquam at odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sem quis nulla. Mauris in tellus. Nulla in ante ut purus mattis fringilla. Sed faucibus ante nec orci. Nulla dictum dapibus lorem. Suspendisse viverra diam vitae tellus. Quisque pretium pulvinar leo. Nam molestie aliquam nunc. Quisque vulputate lacinia libero. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi viverra fringilla nisl. Vivamus eu eros. Nam vel dolor. Pellentesque at massa a risus tempor malesuada. Ut arcu. In quis nisl. Duis ipsum urna, bibendum ultricies, consectetur euismod, condimentum aliquam, diam. Phasellus et ligula. Mauris ipsum. Nunc in est id lacus egestas cursus. Fusce nibh mauris, aliquam placerat, euismod non, pulvinar a, nibh. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum consequat nisl quis justo. Suspendisse nulla massa, iaculis sit amet, porttitor a, volutpat ac, pede. Proin ac turpis. Nulla dui purus, aliquam quis, tempus et, fermentum ac, nibh. Etiam consectetur velit eget eros. In rutrum. Integer et lacus. Integer adipiscing vestibulum diam. Integer ullamcorper metus in elit. Nullam a turpis. Nulla ipsum. Nam blandit. Nam laoreet aliquet quam. Ut iaculis lacus non lectus. Duis faucibus mollis ligula. Nullam faucibus lectus at arcu. Vestibulum rutrum dictum dolor. Etiam egestas mi eget sapien. Quisque blandit leo vehicula turpis. Etiam et mauris id erat scelerisque egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras cursus. Morbi tortor leo, ornare ut, laoreet id, lacinia sit amet, lorem. Vivamus bibendum. Phasellus et ante. Morbi a lacus id tortor condimentum blandit.
Lampiran 9 Ciphertext cipher RSA part 0=* \?gp?rE -@.??H?'?,L?Bx??? ???x?o?-?? [?|zQ?H[ >? j d }m ???? ??? ? ???=?9@??? SC?o??E??b?S????Fp???9^??wgu ?J??? IgI?o?? cipher RSA part 1=D???}? ?b?*2?K?" ????"?y?Z? ?2????Uk ??! V?.???S M 5E??? 1aV? Ud# ?*3O-??b cipher RSA part 2= ? k????>YV??y#? ??%Hl?,??????*???}? N?Xr ?Hw?? ?S9g)[????%k?? ??4??[e? \y=???A??M???? ?si? cipher RSA part 3=Pm?? ?4Grfq ~?? T {??V?? A???? ? ????????n??? ???? ?;?[?-@??HO,??? }C]N?-b ?]v 1?3??$ )? ? ?".?1????#) ??b,?Y~r?$4?HHZ 9? cipher RSA part 4= ?o?d?L??J?jk %??V v?j?5N5(?ea*#?????Y? 3 G=I??Y??I#0(???|?K????.?K???>CgjG~?L|tC ??>?????JH?|??? ?W????3?$? % ?E&? ? ????!;/M cipher RSA part 5=G N??-1??F?l7 ?W ?? !???2 i??? P???? ?? ?V?4r? ??? ???6??? ?Ns z5? 6?2;R ?Nv6?f?Q? f?0 ?DXb?}??? ??q?g???????? xy? Z? cipher RSA part 6=+?? ??N???????j? %?N!? ??:D????$ft??i???R?^?? ???U?9tu???G ?? !????{?z z?`?? =9 ?PnO?? Y?????j?yG? ???FkJ??3'? ?:%?.{, ?L? ? cipher RSA part 7=A????Q=1??RC??U?q?kBo ?? yq?w m8{?c? dQ???4>?E*i?????re?v??????x] ?=g1?RK2?? c? J~?L? T?{? \2o??????$N?? M?7' Th? ??5E?`N??? cipher RSA part 8=6E3?`{$[W????I?w0? ?cpD?+F? ?2T?<# ??????nB ?? ci%,? ?????W? p:??2?v?T??1/~GD???????q??? cipher RSA part 9=(e?? ??P z???? ``g[? ???K ?p ????Z????u@??>Qe?}????;?L{ cipher RSA part 10=D ??ZO??o???? ?]9r?eID???? ??_???????? 2(a"????7???t?????$B cipher RSA part 11=O?-g??? ?Y??vC? ?7ZYP:q??? cipher RSA part 12=]?L3 p? ????U?V?????0~U ? ???N~???y/u????:?%.B(??X??`g6????? `a??t??~????h{?E Y?q??zuf?? ? cipher RSA part 13= ?i y?R ?! ?Kv?? ?? ????F?/?.????>q??? 4? ?p??[}=?_#/1? ?3?~??K ????????gn ?x?U???)??? ?D??? ?d??$?S\R????-O??m?J m i?t?? 6B
Lampiran 9 Lanjutan cipher RSA part 14=E????{?^?r? mg:# T???\ ?dX???? ????R??{??;??#?.????????(?S?S??(????TS???e?T-?t? ? ?|1?]T?????c?? ?_???9?? ?R??????7?{ |??, cipher RSA part 15=-/ ??^ ? c k?2C U?=?ZI16???4?.y??JAb?Tb?1?? ?R q^?? ?16 z? [? ?? ???-?????}+????? ?O HjN cipher RSA part 16=:? ???tq??f?????i?U0?/??Z?\c??$???? ?1???k ??J;??+??&s?_w????:i? ? l? ?????B%?,? o???Ma~ ? + L?}j? h? ?+???x?`????H?b]? ?? cipher RSA part 17=!????_/*????D?+??KFl??+ ???,?w?? ????n???b?9QRg-??|/b??!U; E???Z???t??g ? ????~?>vS??? ?o@ g -???2 fyY???c9? JK??v??Z Gx?d?z cipher RSA part 18=,Yl???@g??c b1??! ?????h? 6cA??M ?2 ?? m?&?J????/?p ?8'??? RM??6t`b ???????????7k ? ?[u? ? ???t l???? psS??g ????????8????xK| cipher RSA part 19= ?t#G??'?8(?t O?????`?{???? ?
Lampiran 10 Hasil proses dekripsi Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum convallis. Aliquam at odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sem quis nulla. Mauris in tellus. Nulla in ante ut purus mattis fringilla. Sed faucibus ante nec orci. Nulla dictum dapibus lorem. Suspendisse viverra diam vitae tellus. Quisque pretium pulvinar leo. Nam molestie aliquam nunc. Quisque vulputate lacinia libero. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi viverra fringilla nisl. Vivamus eu eros. Nam vel dolor. Pellentesque at massa a risus tempor malesuada. Ut arcu. In quis nisl. Duis ipsum urna, bibendum ultricies, consectetur euismod, condimentum aliquam, diam. Phasellus et ligula. Mauris ipsum. Nunc in est id lacus egestas cursus. Fusce nibh mauris, aliquam placerat, euismod non, pulvinar a, nibh. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum consequat nisl quis justo. Suspendisse nulla massa, iaculis sit amet, porttitor a, volutpat ac, pede. Proin ac turpis. Nulla dui purus, aliquam quis, tempus et, fermentum ac, nibh. Etiam consectetur velit eget eros. In rutrum. Integer et lacus. Integer adipiscing vestibulum diam. Integer ullamcorper metus in elit. Nullam a turpis. Nulla ipsum. Nam blandit. Nam laoreet aliquet quam. Ut iaculis lacus non lectus. Duis faucibus mollis ligula. Nullam faucibus lectus at arcu. Vestibulum rutrum dictum dolor. Etiam egestas mi eget sapien. Quisque blandit leo vehicula turpis. Etiam et mauris id erat scelerisque egestas. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras cursus. Morbi tortor leo, ornare ut, laoreet id, lacinia sit amet, lorem. Vivamus bibendum. Phasellus et ante. Morbi a lacus id tortor condimentum blandit.
Lampiran 11 Rincian waktu eksekusi enkripsi pada RSA
NO
Ukuran File (byte)
Waktu Enkripsi (ms) 1
2
3
4
5
6
7
8
9
10
1 2 3 4 5 6 7 8 9
1764 3528 5292 8820 10584 12348 14112 15876 17640
47 31 62 110 125 125 125 141 187
15 32 63 94 78 141 156 265 188
16 32 62 94 141 188 94 109 203
15 31 63 62 141 157 109 156 125
16 47 62 109 141 140 94 125 188
15 31 63 109 78 125 266 140 94
16 31 16 109 125 94 141 109 203
31 47 31 109 63 109 94 94 187
16 47 62 110 109 62 172 109 125
31 31 62 110 125 109 94 110 203
10
21168
125
234
234
234
250
157
125
187
141
125
Lampiran 12 Rincian waktu eksekusi dekripsi pada RSA Waktu Dekripsi (ms)
Ukuran File (byte)
1
2
3
4
5
6
7
8
9
10
1 2 3 4 5 6 7 8 9
1764 3528 5292 8820 10584 12348 14112 15876 17640
531 1000 2250 2406 3875 3812 4625 5204 6250
563 1235 2047 4719 3969 3984 5297 5313 6297
1171 1141 2109 4219 4422 4219 5656 6109 5640
515 2406 2234 4453 3781 4719 5500 6438 7469
563 1156 2282 3094 3594 4203 6266 6203 6907
640 1328 2484 3640 4328 3922 5047 4375 6375
532 1156 3625 3610 3656 4532 4453 6438 7250
531 1016 1953 4407 3172 5156 5218 6453 6438
547 1172 2515 3705 4297 4500 4375 4688 5594
515 2407 1984 3891 4859 5063 5188 5671 6891
10
21168
7125
7500
8172
8563
8938
9219
8391
7953
8828
7047
NO
Lampiran 13 Rincian waktu eksekusi enkripsi pada RSA-CRT
NO
Ukuran File (byte)
Waktu Enkripsi (ms) 1
2
3
4
5
6
7
8
9
10
1 2 3 4 5 6 7 8 9
1764 3528 5292 8820 10584 12348 14112 15876 17640
16 47 62 109 125 156 93 172 125
32 31 63 109 94 156 94 156 188
15 31 63 109 125 93 172 140 94
15 47 63 109 125 78 157 125 110
31 31 62 94 125 156 187 141 187
16 47 63 109 141 140 110 156 157
32 31 62 94 109 156 187 156 187
15 46 47 94 125 141 172 141 140
16 47 63 109 140 109 125 140 125
16 31 188 110 109 156 188 172 203
10
21168
109
93
125
141
203
234
235
234
140
172
Lampiran 14 Rincian waktu eksekusi dekripsi pada RSA-CRT Waktu Dekripsi (ms)
Ukuran File (byte)
1
2
3
4
5
6
7
8
9
10
1 2 3 4 5 6 7 8 9
1764 3528 5292 8820 10584 12348 14112 15876 17640
375 625 578 719 1031 1141 1672 1875 2578
234 312 1079 828 1140 1328 1562 1296 1500
359 719 469 1781 922 1187 1140 1625 2406
359 703 1078 1797 1093 1469 1156 2094 2453
234 703 469 1063 1125 2157 1406 1375 2703
360 718 1078 875 2140 1578 1391 2625 2469
360 719 1063 953 984 1265 1500 1390 2391
359 719 484 860 2141 1406 1625 1718 2110
359 719 1078 1781 2141 1125 1609 1829 2375
171 328 1079 1781 860 1093 1969 1437 2547
10
21168
1719
2265
2421
2063
1969
2953
2343
2531
2859
2641
NO