Tuesday 26 June 2007

Chipertext

I visited Department of Mathematics booth in UBD just now, and saw a ciphertext challenge (i think got prize). This is the second question of the challenge, convert the following message into English by substitution method.

XHJCYZOHVCMJ WU YMG UXWGTXG ZB CHZYGXYWTO WTBZHSVYWZT DJ YHVTUBZHSWTO ZH GTXHJCYWTO WY WTYZ ITHGVFVDAG BZHSVY PTZNT VU XWCMGHYGLY. ZTAJ YMZUG NRZ CZUUGUU YMG UGXHGY PGJ XVT FGXWCMGH ZH FGXHJCY YMG SGUUVOG WTYZ CAVWT YGLY. GTXHJCVGF SGUUVDGU XVT UZSGYWSGU DG DHZDGT DJ XHJCYVTVAJUWU VAUZ XVAAGF XZFGDHGVPWTO, VAYMZIOM SZFGHT XHJCYZOHVCMJ YGXMTWEIGU VHG RWHYIVAAJ ITDHGVPVDAG.

So here is what I have solved, with the help of my friends who help me in English vocabulary + the spelling.. since I'm poor in English language!!!

CRYPTOGRAPHY IS THE SCIENCE OF PROTECTING INFORMATION BY TRANSFORMING OR ENCRYPTING IT INTO UNREADABLE FORMAT KNOWN AS CIPHERTEXT. ONLY WHO POSSESS THE SECRET KEY CAN DECIPHER OR DECRYPT THE MESSAGE INTO PLAIN TEXT. ENCRYPTED MESSAGES CAN SOMETIMES BE BROKEN BY CRYPTANALYSIS, ALSO CALLED CODEBREAKING, ALTHOUGH MODERN CRYPTOGRAPHY TECHNIQUES ARE VIRTUALLY UNBREAKABLE.

known substitution key - (from chipertext to plaintext)
A=L, B=F, C=P, D=B, E=Q, F=D, G=E, H=R, I=U, J=Y, K=?, L=X, M=H, N=W, O=G, P=K, Q=?, R=V, S=M, T=N, U=S, V=A, W=I, X=C, Y=T, Z=O

I forgot the last question because I was not allowed to bring back the question paper!!! (but i managed to copy the second question secretly... :D). I think the prize is still there tomorrow...

Monday 25 June 2007

UBD FLOSS

I went to UBD just now to help friends/lecturers setup the Computer Science Department booth for the 4th UBD Science & Technology Week (2007) - from 26th to 30th June 2007. One of the event is the UBD-FLOSS Training. You can read more about that here.

Tuesday 19 June 2007

RSS/Atom Aggregator - RSS Bandit

I'm home!!! Ok.

To start with, I need to define the meaning of several terms here (Ref:Wiki).

RSS
is a family of web feed formats used to publish frequently updated content such as blog entries, news headlines or podcasts. An RSS document, which is called a "feed," "web feed," or "channel," contains either a summary of content from an associated web site or the full text. RSS makes it possible for people to keep up with their favorite web sites in an automated manner that's easier than checking them manually.

Atom
Same idea of RSS. The development of Atom was motivated by the existence of many incompatible versions of the RSS syndication format.

Aggregator
An aggregator, rss aggregator, news aggregator, or feed reader is a client software that uses web feed to retrieve syndicated web content such as blogs, podcasts, vlogs, and mass media websites, or in the case of a search aggregator, a customized set of search results.

Function of RSS/Atom Aggregator
Aggregators reduce the time and effort needed to regularly check websites for updates, creating a unique information space or "personal newspaper." Once subscribed to a feed, an aggregator is able to check for new content at user-determined intervals and retrieve the update.

I use RSS/Atom Aggregator to read ppl blog or news. If you have more than 30 friends' blog to read everyday, it will be time consuming just to visit each friend's blog to check if there is any update. The software I use is RSS Bandit, to read RSS feed of the blogs I want to read. The software will notify me whenever there is a new blog entry has been posted.

Here are the steps of using RSS Bandit,

Installation

1. Download from RSS Bandit site, get the latest version. Current version is RSS Bandit v1.5.0.10 Released

2. Extract the software and install as usual. Note: You might need
.NET Framework, you can get it from microsoft site here.

To Add Subscription

1. Click File-> New Subscription. An add subscription wizard will appear.

2. Click Next and select I will enter the URL of the web feed or page

3. Enter the URL e.g. http://bruneiopensource.blogspot.com. Then Click Next.

4. The program will automatically getting the feed address. If the program found more than one feed addresses in a single blog, just choose one of them.

Screenshot





It's better if all Bruneian Blogs and News website has RSS/Atom feed enable. Bah.