{"id":18,"date":"2007-06-12T13:39:00","date_gmt":"2007-06-12T13:39:00","guid":{"rendered":"http:\/\/localhost:10265\/?p=18"},"modified":"2007-06-12T13:39:00","modified_gmt":"2007-06-12T13:39:00","slug":"rot13-unleash-the-unknown-words","status":"publish","type":"post","link":"https:\/\/mehdi.biz\/blog\/2007\/06\/12\/rot13-unleash-the-unknown-words\/","title":{"rendered":"ROT13 &#8211; Unleash the unknown words!"},"content":{"rendered":"<!-- google_ad_section_start --><p>I just encountered an amazing stuff while reading the Ryan Russell and Stace Cunningham&#8217;s <a href=\"http:\/\/www.amazon.com\/Hack-Proofing-Your-Network-Tradecraft\/dp\/1928994156\/ref=sr_1_1\/103-6173761-8926236?ie=UTF8&amp;s=books&amp;qid=1181654088&amp;sr=8-1\">Hack proofing your network<\/a>. On page 146, he gives an introduction to cryptography and how it was first used in Egypt 4000 years ago! Then he brings up the ROT13 subject and shows how the algorithm works, simply by rotating the letters to the right by thirteen and gives and example that reads as follows:<\/p>\n<p>V GUVAX JVAQBJF\u2026<\/p>\n<p>that&#8217;s equivalent to &#8220;I THINK WINDOWS&#8221;. The amazing stuff I was talking about was those ROT13-encoded texts already on the net. Try the following links and you&#8217;ll see for yourself.<\/p>\n<ul>\n<li><a href=\"http:\/\/linuxmafia.com\/pipermail\/conspire\/2004-December\/000732.html\">What does &#8220;NT&#8221; in &#8220;Windows 2000: Based on NT Technology&#8221; stand for?<\/a><\/li>\n<li><a href=\"http:\/\/www.artofhacking.com\/tucops\/etc\/malware\/live\/aoh_iloveyou.htm\">ILOVEYOU<\/a><\/li>\n<\/ul>\n<p>and much much more. \ud83d\ude42<\/p>\n<p>Here&#8217;s a simple function (written in C#) that decodes the ROT13 text:<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nforeach (char ch in input)\n{\n    int code = ch;\n    if (char.IsLetter(ch))\n        code = ch + (((int)char.ToUpper(ch) &lt; 'A' + 13) ? 13 : -13);\n\n    Trace.Write((char)code);\n}\n<\/pre>\n<p>where input is the ROT-13 encoded text.<\/p>\n<!-- google_ad_section_end -->","protected":false},"excerpt":{"rendered":"<p>I just encountered an amazing stuff while reading the Ryan Russell and Stace Cunningham&#8217;s <a href=\"http:\/\/www.amazon.com\/Hack-Proofing-Your-Network-Tradecraft\/dp\/1928994156\/ref=sr_1_1\/103-6173761-8926236?ie=UTF8&amp;s=books&amp;qid=1181654088&amp;sr=8-1\">Hack proofing your network<\/a>. On page 146, he gives an introduction to cryptography and how it was first used in Egypt 4000 years ago! Then he brings up the ROT13 subject and shows how the algorithm works, simply by rotating [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mehdi.biz\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}