<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/19661716?origin\x3dhttp://xtremeleedisastrous.blogspot.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
Wednesday, November 28, 2007.


by the way,

today's paper was great. i feel like i'm Da Vinci. (: finding a substitution cipher to encrypt and decrypt messages. this is so cool. let's try it out.

first, let me explain wad is a substitution cipher - every occurrence of a given letter is replaced systematically by another letter.

eg. using sub cipher of "letter plus two", decrypt HELLO. ans: JGNNQ

SO, the question is like that.

QUESTION: Find a sub cipher such that you can use exactly the SAME cipher to encrypt and decrypt messages. In other words,


Message: "I love you" ---apply cipher----> ciphered text


ciphered text ----apply same cipher------->Message: "I love you"

demonstrate the cipher on the message. (:

OKAYS, maybe its easy lar, if so, then i am stupid. CUZ i really spent quite some time thinking of this. AND AND AND! while i was doing, i kept laughing to myself cuz i really feel like da vinci. HAHAHA. and prof tan saw me laughing. DAMN. (:

ping ping posted at 22:08



leepin

05051987
chij st. theresa’s convent
catholic junior college
national university of singapore
faculty of arts and social sciences
psychology

tags



rewind

November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
July 2008
August 2008
October 2008