How to Say “I Love You” using Ascii (geek’s love letter)

A few days ago, I read an article about love and security market line. It’s about how to see a love life using management method. The writer is a management’s student at UI, that’s why the article using management method. So, as a computer-control’s student at Sepuluh Nopember Institute of Technology I want to share our method about saying love.

Well,
In my first year, I’ve learned about binary code, and ascii. Binary code only consist of “0” and “1”. And each decimal number has a different binary code. Those binary code can be converted into decimal (as a 1-100,etc), octal (only using 0-7), and hexadecimal (using 0-9 and A-F) notation. Binary code, decimal notation, and hexadecimal notation also represent ascii code. Ascii code is a numerical representation of some characters, number, and alphabets in Computer Interface. So, it means when we type a letter in our computer, the computer will read it as a binary code or hexadecimal notation, and convert it into character and alphabet using the ascii code.

This is the ascii code table.ascii table

well,
from the table, we know the ascii code for characters, symbols, numbers, that we want to use. For example, we use “41” as the hexadecimal notation to represent the ascii code of “A”.

And now, how if we want to write “I Love You” using the hexadecimal notation based on ascii code? well, it’s simple. Check the ascii table, and find out the hexadecimal notation of each character on the sentence.

So, it would be like this :

I=49; space=20; L=4C; o=6f; v=76; e=65; Y=59; u=75;

FYI, capital-alphabet or not-capital-alphabet have a different ascii code. For example, hexadecimal notation to represent “A” is 41, and “a” is 61.

The result of “I Love You” on hexadecimal notation based on ascii code is : 49204C6F766520596F75

And how if we want to convert it into a binary code?
It’s quite simple if the table shows the binary code too. We just need to write the binary code of each characters, like what we’ve done before on hexadecimal notation.

But we can convert the hexadecimal code into the binary code. It’s quite simple too :D

First, we need to convert the hexadecimal notation into the decimal notation. FYI, hexadecimal consist of 16 codes. The codes is 0-9 (the decimal notation same as the hexadecimal) and A-F(the decimal notation is start with “A” as “10”, until “F” as “15”).
Next, we need to know how to convert the decimal notation into the binary code. FYI, the binary code which is converted from the decimal is consist of 4bit (example : 0010, 1011, etc). And how to convert the decimal into the binary code?
You should be remembered if the first digit value is 8, the second digit value is 4, the third digit value is 2, and the last value is 1.
so, if we have binary code 1001, we can add the value of the digit based on which digit is shown as “1” to know the decimal notation.

1001 = 8 + 0 + 0 + 1 = 9
1101 = 8 + 4 + 0 + 1 = 13 , etc

And if we want to create the binary code, we just need to find out what numbers can be added and equal to that numbers.

14 = 8 + 4 + 2 + 0 = 1110
7 = 0 + 4 + 2 + 1 = 0111 , etc

To convert the hexadecimal into the binary code, we just need to know the decimal of it and added the value.

A = 10 = 8 + 0 + 2 + 0 = 1010
D = 13 = 8 + 4 + 0 + 1 = 1101 , etc

After you can understand it, now is the time to convert the hexadecimal of “I Love You” that we’ve made before.

on hexadecimal = 49204C6F766520596F75

we need to convert each digit into the binary code.

4 = 0 + 4 + 0 + 0 = 0100
9 = 8 + 0 + 0 + 1 = 1001
.
.
.
5 = 0 + 4 + 0 + 1 = 0101

and the result of the binary code is : 0100 1001 0010 0000 0100 1100 0110 1111 0111 0110 0110 0101 0010 0000 0101 1001 0110 1111 0111 0101

:D

Is it difficult ?

About these ads

10 thoughts on “How to Say “I Love You” using Ascii (geek’s love letter)

  1. sugiarta says:

    dulu banget sy pakai itu, utk merubah nama lotus & ws dg nama sy.
    dan utk cheating game. programnya hexedit.

    kl skrg sdh tdk minat lagi.

    anyway nice info.

  2. VSavitri says:

    0100 1001 0010 0000 0100 1100 0110 1111 0111 0110 0110 0101 0010 0000 0101 1001 0110 1111 0111 0101 untuk menulis artikel ini. Si bungsu senang banget membacanya … untuk menyampaikan rasa kasihnya kepada ibunya, dia bacai kode-kode ini keras-keras … :)

  3. amira says:

    is it weird that I received a valentines day card with 0100 1001 0010 0000 0100 1100 0110 1111 0111 0110 0110 0101 0010 0000 0101 1001 0110 1111 0111 0101 under the ‘ps’ ?
    It’s still kinda sweet. :) Nice article!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s