<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>brainware&#039;s scratch &#187; vigenere cipher</title>
	<atom:link href="http://widyananda.com/blog/tag/vigenere-cipher/feed/" rel="self" type="application/rss+xml" />
	<link>http://widyananda.com/blog</link>
	<description>share anything that can be shared</description>
	<lastBuildDate>Fri, 27 Apr 2012 14:41:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Vigenere Cipher, apaan tuh??</title>
		<link>http://widyananda.com/blog/vigenere-cipher-apaan-tuh/</link>
		<comments>http://widyananda.com/blog/vigenere-cipher-apaan-tuh/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 13:54:42 +0000</pubDate>
		<dc:creator>brainware</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[ciphertext]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[enkripsi]]></category>
		<category><![CDATA[enkripsi dan dekripsi]]></category>
		<category><![CDATA[enkripsi data]]></category>
		<category><![CDATA[enkripsi sederhana]]></category>
		<category><![CDATA[kriptografi]]></category>
		<category><![CDATA[plaintext]]></category>
		<category><![CDATA[vigenere]]></category>
		<category><![CDATA[vigenere cipher]]></category>

		<guid isPermaLink="false">http://blog.widyananda.com/?p=476</guid>
		<description><![CDATA[Waaah, dah lama ga nulis tentang enkripsi, hehehe klo dulu tu pernah ngomongin masalah caesar cipher &#38; ROT-13 cipher, sekarang yang pengen aku tulis disini adalah Vigenere Cipher, apa lagi nih?? ayo kita bahas bareng2.. konsep awalnya tu mirip caesar cipher, klo misalnya caesar cipher butuh key berupa angka, vigenere cipher juga butuh key, tapi [...]]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		TD P { margin-bottom: 0in } 		P { margin-bottom: 0.08in } --></p>
<p style="text-align: justify;">Waaah, dah lama ga nulis tentang enkripsi, hehehe klo dulu tu pernah ngomongin masalah <a title="Mengenal caesar cipher lebih jauh" href="http://widyananda.com/blog/2009/10/27/mengenal-caesar-cipher-lebih-jauh/" target="_blank">caesar cipher</a> &amp; <a title="ROT-13 cipher" href="http://widyananda.com/blog/2009/11/21/rot-13-cipher/" target="_blank">ROT-13 cipher</a>, sekarang yang pengen aku tulis disini adalah Vigenere Cipher, apa lagi nih?? <img src='http://widyananda.com/blog/wp-includes/images/smilies/7.gif' alt="7 Vigenere Cipher, apaan tuh??" class='wp-smiley' title="Vigenere Cipher, apaan tuh?? vigenere cipher vigenere plaintext kriptografi enkripsi sederhana enkripsi data enkripsi dan dekripsi enkripsi encryption ciphertext " />  ayo kita bahas bareng2.. <img src='http://widyananda.com/blog/wp-includes/images/smilies/4.gif' alt="4 Vigenere Cipher, apaan tuh??" class='wp-smiley' title="Vigenere Cipher, apaan tuh?? vigenere cipher vigenere plaintext kriptografi enkripsi sederhana enkripsi data enkripsi dan dekripsi enkripsi encryption ciphertext " /> </p>
<p style="text-align: justify;">konsep awalnya tu mirip caesar cipher, klo misalnya caesar cipher butuh key berupa angka, vigenere cipher juga butuh key, tapi berupa huruf, jadi lebih mirip password gitu&#8230; jadi gini, klo di caesar cipher kan semua huruf yang ada di kata itu kita enkripsi dengan key yang sama, bedanya dengan vigenere key disini kita enkripsi huruf dalam kata tu beda2, sesuai dengan urutan key yang diberikan&#8230; hmmm bingung yah? he.. paling ga bisa bikin kata2 <img src='http://widyananda.com/blog/wp-includes/images/smilies/21.gif' alt="21 Vigenere Cipher, apaan tuh??" class='wp-smiley' title="Vigenere Cipher, apaan tuh?? vigenere cipher vigenere plaintext kriptografi enkripsi sederhana enkripsi data enkripsi dan dekripsi enkripsi encryption ciphertext " /> </p>
<p>langsung ke prakteknya ajalah <img src='http://widyananda.com/blog/wp-includes/images/smilies/4.gif' alt="4 Vigenere Cipher, apaan tuh??" class='wp-smiley' title="Vigenere Cipher, apaan tuh?? vigenere cipher vigenere plaintext kriptografi enkripsi sederhana enkripsi data enkripsi dan dekripsi enkripsi encryption ciphertext " /> </p>
<p>misal kita punya plaintext “enkripsi”, trus kita punya key “abc”, berarti, cara enkripsinya gini:</p>
<table border="1" cellspacing="0" cellpadding="4" width="312" bordercolor="#000000">
<col width="30"></col>
<col width="31"></col>
<col width="31"></col>
<col width="31"></col>
<col width="31"></col>
<col width="31"></col>
<col width="31"></col>
<col width="30"></col>
<tbody>
<tr valign="TOP">
<td width="30">E</td>
<td width="31">N</td>
<td width="31">K</td>
<td width="31">R</td>
<td width="31">I</td>
<td width="31">P</td>
<td width="31">S</td>
<td width="30">I</td>
</tr>
<tr valign="TOP">
<td width="30">A</td>
<td width="31">B</td>
<td width="31">C</td>
<td width="31">A</td>
<td width="31">B</td>
<td width="31">C</td>
<td width="31">A</td>
<td width="30">B</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Dari tiap-tiap huruf di plaintext, kita pasangkan satu-satu secara berurutan dengan key nya, karena key nya cuma 3 karakter, sedangkan plaintextnya lebih dari itu, berarti keynya kita ulang hingga sesuai dengan panjang plaintextnya&#8230; a b c a b c a b c . . . . gitu terus&#8230;</p>
<p><span id="more-476"></span></p>
<p>nah, proses berikutnya, kita ubah key nya jadi index hurufnya, yang nantinya akan kita tambahkan ke index plaintextnya (A=0, Z=25):</p>
<table border="1" cellspacing="0" cellpadding="7" width="572" bordercolor="#000000">
<col width="172"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<tbody>
<tr valign="TOP">
<td width="172">Plaintext</td>
<td width="34">E</td>
<td width="34">N</td>
<td width="34">K</td>
<td width="34">R</td>
<td width="34">I</td>
<td width="34">P</td>
<td width="34">S</td>
<td width="34">I</td>
</tr>
<tr valign="TOP">
<td width="172">Index plaintext</td>
<td width="34">4</td>
<td width="34">13</td>
<td width="34">10</td>
<td width="34">17</td>
<td width="34">8</td>
<td width="34">15</td>
<td width="34">18</td>
<td width="34">8</td>
</tr>
<tr valign="TOP">
<td width="172">Key</td>
<td width="34">A</td>
<td width="34">B</td>
<td width="34">C</td>
<td width="34">A</td>
<td width="34">B</td>
<td width="34">C</td>
<td width="34">A</td>
<td width="34">B</td>
</tr>
<tr valign="TOP">
<td width="172">Index Key</td>
<td width="34">0</td>
<td width="34">1</td>
<td width="34">2</td>
<td width="34">0</td>
<td width="34">1</td>
<td width="34">2</td>
<td width="34">0</td>
<td width="34">1</td>
</tr>
<tr valign="TOP">
<td width="172">(Plaintext + key) mod 26</td>
<td width="34">4</td>
<td width="34">14</td>
<td width="34">12</td>
<td width="34">17</td>
<td width="34">9</td>
<td width="34">17</td>
<td width="34">18</td>
<td width="34">9</td>
</tr>
<tr valign="TOP">
<td width="172">Cipher text</td>
<td width="34">E</td>
<td width="34">O</td>
<td width="34">M</td>
<td width="34">R</td>
<td width="34">J</td>
<td width="34">R</td>
<td width="34">S</td>
<td width="34">J</td>
</tr>
</tbody>
</table>
<p>Jadi, kata “enkripsi” jika kita enkripsi dengan vigenere cipher dengan key “abc” akan menghasilkan ciphertext “EOMRJRSJ”</p>
<p>Untuk dekripsinya, tinggal dibalik aja:</p>
<table border="1" cellspacing="0" cellpadding="7" width="572" bordercolor="#000000">
<col width="172"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<col width="34"></col>
<tbody>
<tr valign="TOP">
<td width="172">Cipher text</td>
<td width="34">E</td>
<td width="34">O</td>
<td width="34">M</td>
<td width="34">R</td>
<td width="34">J</td>
<td width="34">R</td>
<td width="34">S</td>
<td width="34">J</td>
</tr>
<tr valign="TOP">
<td width="172">Index cipher text</td>
<td width="34">4</td>
<td width="34">14</td>
<td width="34">12</td>
<td width="34">17</td>
<td width="34">9</td>
<td width="34">17</td>
<td width="34">18</td>
<td width="34">9</td>
</tr>
<tr valign="TOP">
<td width="172">Key</td>
<td width="34">A</td>
<td width="34">B</td>
<td width="34">C</td>
<td width="34">A</td>
<td width="34">B</td>
<td width="34">C</td>
<td width="34">A</td>
<td width="34">B</td>
</tr>
<tr valign="TOP">
<td width="172">Index Key</td>
<td width="34">0</td>
<td width="34">1</td>
<td width="34">2</td>
<td width="34">0</td>
<td width="34">1</td>
<td width="34">2</td>
<td width="34">0</td>
<td width="34">1</td>
</tr>
<tr valign="TOP">
<td width="172">(Plaintext &#8211; key) mod 26</td>
<td width="34">4</td>
<td width="34">13</td>
<td width="34">10</td>
<td width="34">17</td>
<td width="34">8</td>
<td width="34">15</td>
<td width="34">18</td>
<td width="34">8</td>
</tr>
<tr valign="TOP">
<td width="172">Plaintext</td>
<td width="34">E</td>
<td width="34">N</td>
<td width="34">K</td>
<td width="34">R</td>
<td width="34">I</td>
<td width="34">P</td>
<td width="34">S</td>
<td width="34">I</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Gitu.. asik kan?? Hehehe <img src='http://widyananda.com/blog/wp-includes/images/smilies/4.gif' alt="4 Vigenere Cipher, apaan tuh??" class='wp-smiley' title="Vigenere Cipher, apaan tuh?? vigenere cipher vigenere plaintext kriptografi enkripsi sederhana enkripsi data enkripsi dan dekripsi enkripsi encryption ciphertext " />  jadi, yang penting di vigenere cipher adalah key yang dipasangkan berurutan &amp; berulang (klo perlu) dengan plaintextnya&#8230;</p>
<p>Untuk program enkripsi dengan vigenere cipher bisa di coba di <a title="Program enkripsi" href="http://widyananda.com/blog/enkripsi/" target="_blank">sini</a>.</p>
<p>Semoga bermanfaat.. <img src='http://widyananda.com/blog/wp-includes/images/smilies/4.gif' alt="4 Vigenere Cipher, apaan tuh??" class='wp-smiley' title="Vigenere Cipher, apaan tuh?? vigenere cipher vigenere plaintext kriptografi enkripsi sederhana enkripsi data enkripsi dan dekripsi enkripsi encryption ciphertext " /> </p>
]]></content:encoded>
			<wfw:commentRss>http://widyananda.com/blog/vigenere-cipher-apaan-tuh/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

