EdyWinarno.Com

|Computer|Blogging|Programming|Informatics|Network|Technology|

Public Key Cryptography

Comments Off
Posted by edy winarno on November 23, 2009 at 10:55 am

kripto1Kriptografi merupakan kumpulan teknik untuk mengkodekan data dan pesan sedemikian sehingga data dan pesan tersebut dapat disimpan dan ditransmisikan dengan aman. Berikut ini beberapa terminologi dasar dari kriptografi serta hal-hal yang berkaitan dengan terminologi tersebut:

• Kriptografi dapat digunakan untuk meningkatkan keamanan komunikasi meskipun komunikasi tersebut dilakukan dengan media komunikasi yang sangat tidak aman (misalnya Internet). Kita juga dapat menggunakan kriptografi untuk melakukan enkripsi file-file sensitif kita, sehingga orang lain tidak dapat mengartikan data-data yang ada
• Kriptografi dapat digunakan untuk memberikan jaminan integritas data serta menjaga kerahasiaan
• Dengan menggunakan kriptografi, maka sangat mungkin untuk meverifikasi asal data dan pesan yang ada menggunakan digital signature
• Pada saat menggunakan metoda kriptografi, hanya kunci sesi yang harus tetap dijaga kerahasiannya. Algoritma, ukuran kunci dan format file dapat dibaca oleh siapapun tanpa mempengaruhi keamanan.

Kriptografi memungkinkan beberapa operasi atau proses terhadap data. Dua buah operasi dasar adalah enkripsi (dengan dekripsi sebagai proses balikannya) dan signing (dengan verifikasi dari signature sebagai proses balikannya). Enkripsi analog dengan memasukkan surat kedalam sebuah amplop sedangkan dekripsi analog dengan membuang amplop dan mengambil data. Signature analog dengan pemberian tanda-tangan terhadap sebuah dokumen dan penanda bahwa dokumen tersebut tidak berubah dari aslinya.

Public Key Cryptography dan Fungsi Satu Arah

Public key cryptography (lawan dari symmetric key cryptography) bekerja berdasarkan fungsi satu arah. Fungsi yang dapat dengan mudah dikalkulasi akan tetapi sangat sulit untuk dibalik/invers atau reverse tanpa informasi yang mendetail. Salah satu contoh adalah faktorisasi; biasanya akan sulit untuk memfaktorkan bilangan yang besar, akan tetapi mudah untuk melakukan faktorisasi. Contohnya, akan sangat sulit untuk memfaktorkan 4399 daripada memverifikasi bahwa 53 x 83 = 4399. Public key cryptography menggunakan sifat-sifat asimetrik ini untuk membuat fungsi satu arah, sebuah fungsi dimana semua orang dapat melakukan satu operasi (enkripsi atau verifikasi sign) akan tetapi sangat sulit untuk menginvers operasi (dekripsi atau membuat sign) tanpa informasi yang selengkap-lengkapnya.
Public key cryptography dilakukan dengan menggabungkan secara kriptografi dua buah kunci yang berhubungan yang kita sebut sebagai pasangan kunci publik dan kunci privat. Kedua kunci tersebut dibuat pada waktu yang bersamaan dan berhubungan secara matematis. Secara matematis, kunci privat dibutuhkan untuk melakukan operasi invers terhadap kunci public dan kunci publik dibutuhkan untuk melakukan operasi invers terhadap operasi yang dilakukan oleh kunci privat.
Jika kunci publik didistribusikan secara luas, dan kunci privat disimpan di tempat yang tersembunyi maka akan diperoleh fungsi dari banyak ke satu. Semua orang dapat menggunakan kunci publik untuk melakukan operasi kriptografi akan tetapi hanya orang yang memegang kunci privat yang dapat melakukan invers terhadap data yang telah terenkripsi tersebut. Selain itu dapat juga diperoleh fungsi dari satu ke banyak, yaitu pada saat orang yang memegang kunci privat melakukan operasi enkripsi maka semua orang yang memiliki kunci publik dapat melakukan invers terhadap data hasil enkripsi tersebut.

Symmetric Cryptography

Algoritma simetrik merupakan jenis algorima enkripsi yang paling umum dan paling tua. Algoritma ini disebut sebagai simetrik sebab kunci yang sama digunakan untuk enkripsi dan dekripsi. Berbeda halnya dengan kunci yang digunakan pada algoritma kunci publik, kunci yang digunakan pada simetrik key biasanya sering diubah-ubah. Oleh karena itu biasanya kunci pada simetrik key disebut sebagai session key, artinya kunci yang dipakai hanya pada satu sesi proses enkripsi.
Jika dibandingkan dengan algoritma kunci publik, algoritma simetrik key sangat cepat dan oleh karena itu lebih cocok jika digunakan untuk melakukan enkripsi data yang sangat besar. Salah satu algoritma simetrik yang dikenal adalah RC4 dan DES (Data Encryption Standar).
Protokol kriptografi modern pada saat ini banyak yang menggabungkan algoritma kunci publik dengan algoritma simetrik untuk memperoleh keunggulan-keunggulan pada masing-masing algoritma. Algoritma kunci publik digunakan untuk proses pertukaran session key yang berukuran kecil sekitar 16 bytes , sedangkang algoritma simetrik digunakan untuk melakukan enkripsi data yang sesungguhnya.

Enkripsi dan Dekripsi

Dengan menggunakan teknik enkripsi data, sebuah pesan text dapat dienkode sedemikian sehingga sangat tidak beraturan dan sulit untuk dikembalikan ke pesan asal tanpa kunci rahasia. Pesan tersebut dapt berupa ASCII, file database atau data apapun yang akan kita kirimkan atau kita simpan melalui media yang tidak aman. Dalam kontek kriptografi, plaintext adalah data yang belum di enktripsi sedangkan ciphertext adalah data yang telah dienkripsi.
Jika sebuah pesan telah dienkripsi maka pesan tersebut dapat disimpan atau ditransmisikan dalam media yang tidak aman namun tetap terjaga kerahasiannya. Kemudian, pesan tersebut dapat didekripsi kedalam bentuk aslinya. Ilustrasi proses tersebut dapat dilihat pada gambar dibawah.
enkripsi1
Pada saat pesan dienkripsi maka kunci enkripsi digunakan untuk proses tersebut. Hal ini analog dengan kunci yang biasa kita gunakan untuk mengunci gembok pintu. Untuk mendekripsikan pesan, maka kunci dekripsi yang cocok harus digunakan. Dalam hal ini, sangatlah penting untuk membatasi akses kepada kunci dekripsi, sebab semua orang yang dapat melihat kunci dekripsi berarti dapat pula mendekripsikan semua pesan yang telah dienkripsi dengan menggunakan kunci enkripsi yang bersesuaian.

Hash dan Digital Signature

Digital signature digunakan ketika kita ingin memberikan plaintext dan kita ingin bahwa penerima pesan mengetahui bahwa pesan tersebut datangnnya dari kita dan tidak ada perubahan apapund didalam pesan selama proses penyimpanan atau transmisi. Melakukan signing terhadap pesan tidak akan mengubah isi serta bentuk pesan tersebut, dan hasil sign dapat kita sisipkan atau kita simpan dalam bentuk lain untuk menyertai pesan asli.
Digital signature dapat dihasilkan dengan menggunakan algoritma kunci publik. Sebuah kunci privat digunakan untuk menghasilkan signature dan kunci publik yang bersesuaian digunakan untuk mevalidasi sign.
Digital signature memberikan keuntungan tambahan selain enkripsi. Dengan cara ini, pengguna dapat memperoleh jaminan bahwa pesan yang diterima berasal dari pemberi sign dan isinya tidak berubah sama seperti pada saat dilakukan sign. Dokumen dapat saja hanya diberi sign tanpa dienkripsi, akan tetapi satu hal yang harus kita ingat bahwa proses enkripsi yang baik selalu diawali dengan proses signing.
Sign digital dibuat dengan mengenkripsi hash dari dokumen dengan kunci privat. Hash dari dokumen biasanya merupakan sidik jari miniatur dari dokumen yang bersangkutan. Fungsi hash yang digunakan disini sama dengan fungsi hash yang digunakan sehari-hari dimana input berapapun akan menghasilkan output 16 byte (128 bit). Karena hash merupakan fungsi satu arah, maka sangat sulit untuk membuat dokumen lain yang memiliki hash string yang sama. Ilustrasi berikut ini menggambarkan proses signing.

ekripsi2

Teknik kriptografi dengan menggunakan kunci publik akan tetap berkembang berdasarkan meningkatnya kebutuhan akan sistem keamanan data yang lebih tinggi. Dengan menggabungkan kekuatan enkripsi algoritma kunci publik dan kecepatan enkripsi algoritma simetrik maka akan diperoleh sistem enkripsi yang kuat dan memiliki proses yang cepat.

Kembali ke halaman utama

Both comments and pings are currently closed.

45 Comments

  • On September 13, 2011 at 6:15 am link building service said

    Ive used to publish about like th is one of my blogs and th is provided me with an notion. TY.

  • On September 13, 2011 at 7:09 pm Johnson Morgan & White said

    Decent reading. Is fantastic blog design likewise. continue your great work.

  • On September 14, 2011 at 10:30 pm dirt bike games said

    Hi. I found your blog using msn. That is a adequately written article. I’ll be likely to bookmark it and bring back to find out more within your useful information. Just post. I’ll definitely return.

  • On September 15, 2011 at 12:48 am custom koozies said

    I’m speechless. This is a superb blog and very engaging too. Great paintings! That’s not actually so much coming from an amateur writer like me, however it’s all I could say after diving into your posts. Great grammar and vocabulary. No longer like other blogs. You in reality recognize what you?re talking about too. So much that you just made me wish to explore more. Your weblog has become a stepping stone for me, my friend.

  • On September 16, 2011 at 1:22 am truck games said

    hey – my very first time that within this blog and that i just had a want to say hello and appreciate your keeping it alive !

  • On September 16, 2011 at 6:02 pm Affordable Web Design said

    I started to go by your site

  • On September 17, 2011 at 6:27 am California Web Design said

    If clothes create the man, plus your clothes were created in a sweatshop, are you an orphan? -anon

  • On September 27, 2011 at 7:31 pm Darell Woytowicz said

    You made some respectable points there. I looked on the internet for the difficulty and found most individuals will go together with with your website.

  • On September 27, 2011 at 11:30 pm C converter said

    There is noticeably a bundle to comprehend this. I assume you have made specific nice points in features also.

  • On September 28, 2011 at 3:02 pm Velvet Lary said

    A formidable share, I simply given this onto a colleague who was doing slightly analysis on this. And he in reality purchased me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to debate this, I feel strongly about it and love reading more on this topic. If attainable, as you grow to be experience, would you mind updating your blog with extra details? It is extremely useful for me. Massive thumb up for this blog post!

  • On September 30, 2011 at 2:45 pm Francesco Calin said

    I just want to say I am new to blogging and definitely loved your web-site. Almost certainly I’m want to bookmark your site . You surely have great article content. Many thanks for sharing with us your blog.

  • On September 30, 2011 at 6:09 pm hyip investment said

    I want to convey my passion for your generosity in support of people who have the need for help with that niche. Your personal dedication to getting the message all through had become astonishingly insightful and have usually empowered regular people much like me to realize their aims. This helpful report means a whole lot to me and even more to my fellow workers. Best wishes; from everyone of us.

  • On October 1, 2011 at 2:14 am seo software said

    hey buddy, this is a very interesting article

  • On October 2, 2011 at 3:04 am jokeripokeri said

    There are certain posts available near this, I believe taking there reference could experience made this spot or article really informative. I am not expression this post is not good. Simply I have to pronounce which the info provided here was unique, merely making it more close to complete, supporting with former information will receive been actually good. The points you get touched here’s vital, thus Let me spot some of the information here to create this actually beneficial to entirely the newbie’s here. Many thanks for this review. Actually helpful!

  • On October 2, 2011 at 3:23 am fast cash loans said

    I think that may be a captivating aspect, it made me assume a bit. Thanks for sparking my pondering cap. Once in a while I am getting such a lot in a rut that I simply really feel like a record.

  • On October 2, 2011 at 4:52 am bhj4333tylf7 mae said

    Your post Artikel teknik kriptografi – Enkripsi simetrik – Public key kriptografi – Dekripsi – Public key cryptography – Public Key Cryptography | EdyWinarno.Com is very good. I think this is among the most significant info for me. I was looking at this blog site and I am amazed. I can’t wait to read much more from you because this is actually a tremendous web site. I will bookmark your blog and check again here frequently.

  • On October 2, 2011 at 1:31 pm best games said

    Good day, I just hopped over on your web site by means of StumbleUpon. Now not something I’d usually read, but I preferred your thoughts none the less. Thank you for making one thing worth reading.

  • On October 2, 2011 at 8:17 pm XXX Videos said

    The new Zune browser is surprisingly good, but not as good as the iPod’s. It works well, but isn’t as fast as Safari, and has a clunkier interface. If you occasionally plan on using the web browser that’s not an issue, but if you’re planning to browse the web alot from your PMP then the iPod’s larger screen and better browser may be important.

  • On October 3, 2011 at 6:42 am shemales videos said

    The new Zune browser is surprisingly good, but not as good as the iPod’s. It works well, but isn’t as fast as Safari, and has a clunkier interface. If you occasionally plan on using the web browser that’s not an issue, but if you’re planning to browse the web alot from your PMP then the iPod’s larger screen and better browser may be important.

  • On October 3, 2011 at 1:06 pm scrapebox said

    Hi, Neat postThere is a concern using your site in web explorer, could test this IE nonetheless will be the marketplace chief and a large area of individuals will miss your great writing for this problem.

  • On October 4, 2011 at 2:04 am Jacquelynn Vanbuskirk said

    hello there and thank you for your info I’ve definitely picked up anything new from right here. I did however expertise a few technical points using this site, since I experienced to reload the site many times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and could damage your high quality score if advertising and marketing with Adwords. Well I am adding this RSS to my e-mail and could look out for much more of your respective fascinating content. Make sure you update this again very soon..

  • On October 4, 2011 at 3:12 am web directory said

    Fast and free web directory available to you

  • On October 4, 2011 at 10:13 am Gema Pool said

    My husband is 71 and has cancer. I am not ready to allow anyone to OFF him yet. We must fight this attempt to pass COMMIE CARE with every ounce of our strength! Equally important is fighting the BLAIR HOLT GUN BILL. It has never been more important for citizens to be able to defend ourselves- from ENEMIES BOTH FOREIGN AND DOMESTIC. In 2005 a man high on drugs came in my home. My pistol saved my life. Now I must fight this socialized medicine to save my husband. Most people are too dumb to pay attention. It may pass due to lack of interest on the part of people who have the power to stop it if only they would. That is the consequence of THE DUMBING DOWN OF AMERICA!

  • On October 5, 2011 at 3:14 am mantar hastalığı said

    I was suggested this blog by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my difficulty. You’re incredible! Thanks!

  • On October 5, 2011 at 3:30 pm Patient Pagers said

    Wow, that’s an incredible go through. Finally, someone that really thinks and is particularly acquainted with what they are currently talking about. Quite difficult to acquire currently, especially on the web. I saved your blog post and can be sure to revisit here if it is how you would always post. Cheers, continue the good work!

  • On October 6, 2011 at 5:50 am ScrapeBox Connection Settings Simple fact Revelead said

    Wow! This could be one particular of the most helpful blogs We have ever arrive across on this subject. Actually Fantastic. I am also a specialist in this topic therefore I can understand your hard work.

  • On October 6, 2011 at 6:53 am william hill casino said

    While I think this will fail, I do think it is wise – if they ever want to be taken seriously – to stick with the fall. Even the most serious Football fan will ever take a spring league seriously, and never mind the casual fans. If they do want to be a serious entity, the fall is the way to go. That being said, the fall is probably a bigger barrier to entry but if they want staying power, they must overcome. Did I say this was doomed yet?

  • On October 6, 2011 at 4:01 pm earn money working from home said

    I am usually to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and hold checking

  • On October 7, 2011 at 1:41 am v-pills said

    We are a group of volunteers and opening a new scheme in our community. Your web site provided us with valuable info to work on. You have done a formidable job and our whole community will be thankful to you.

  • On October 7, 2011 at 5:18 am yalın adsl başvuru said

    I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I’m quite sure I will learn many new stuff right here! Best of luck for the next!

  • On October 7, 2011 at 6:51 am escort bayanlar said

    I was recommended this web site by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my trouble. You are amazing! Thanks!

  • On October 7, 2011 at 8:43 am Avengers Movie said

    dang i cant believe it she died at the age of 36!!!!!

  • On October 7, 2011 at 6:32 pm futbol oyunları said

    Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It’s very colorful and lovely OLED screen is slightly smaller than the touch screen, but the player itself feels quite a bit smaller and lighter. It weighs about 2/3 as much, and is noticeably smaller in width and height, while being just a hair thicker.

  • On October 7, 2011 at 11:05 pm oyun indir said

    Unquestionably believe that which you stated. Your favorite reason appeared to be on the net the easiest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they plainly do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

  • On October 8, 2011 at 4:00 am sex hikayeleri said

    Excellent post. I was checking constantly this blog and I am impressed! Very useful information particularly the last part :) I care for such info much. I was looking for this certain info for a long time. Thank you and best of luck.

  • On October 8, 2011 at 5:21 am car wash business plan said

    Usually i dont provide feedback to sites, but yours has some rare content hence wanted to thank you.

  • On October 8, 2011 at 9:07 am yabancı dizi izle said

    I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the net will be much more useful than ever before.

  • On October 8, 2011 at 11:02 am chase.com said

    As The Great one says Liberalizum iizzzzzzzzzzz a Mental disorder Too much Ritilan there choo choo train to communisum!!! you yuppie schmuck anti American idiot!! I bet you love Nancy Pillosi and would love to SSSSSSs Obama s DDDDDDDDDDDD I steped off the Plane in 72 from in Country and your DH Hippie Grand Parents Acused me of Murder!! Against Lies upon lies look at what cinical thinking freedom sucking fags have done to this country!.

  • On October 8, 2011 at 2:20 pm cho thue may phat dien said

    Hiya! I simply wish to give an enormous thumbs up for the good information you will have here on this post. I will probably be coming back to your weblog for extra soon.

  • On October 9, 2011 at 3:09 am Coretta Espejel said

    I love it when people come together and share opinions, great blog, keep it up.

  • On October 9, 2011 at 3:57 pm Burt Dacunha said

    Would you be concerned with exchanging links?
    http://www.office-product-1.com

  • On October 9, 2011 at 7:11 pm Virginia Jahnsen said

    Your house is valueble for me. Thanks!…

  • On October 10, 2011 at 12:12 am telephone answering service said

    I seriously enjoy your weblog. It looks great and you give fantastic info too!

  • On October 10, 2011 at 4:32 am Tony Seipel said

    Very cool, some intriguing arguments! I appreciate you making this article online, the rest of the site is also high quality. Have a wonderful.

  • On October 10, 2011 at 6:30 am dobre docieplenie ściany said

    Blog tworzony przez fachowców z myślą o osobach remontujących istniejące budynki lub budująchych całkiem nowe obiekty. łatwo znajdziesz tu odpowiedzi na pytania związane z twoim projektem. Dzięki naszym poradom unikniesz zbędnych rozczarowań i kosztów.

Welcome to EdyWinarno.Com
Edy Winarno-Blogger-Author sekaligus dosen di Program Studi Teknik Informatika Universitas Stikubank (UNISBANK) Semarang. Penulis adalah alumnus S2 Sistem Komputer & Informatika - Teknik Elektro UGM Yogyakarta. Saat ini sedang melanjutkan studi S3 dengan beasiswa BPPS di Program Studi Ilmu Komputer UGM. Penulis juga merupakan penulis buku-buku di Elexmedia Komputindo . Penulis bisa dihubungi di edywinarno3[at]gmail.com atau edy_winarno[at]yahoo.co.id

IQ Test
QuickIQTest.net - IQ Test


Edy Winarno

Create Your Badge

Tulis Pesan Anda