Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding > Coding Tutorials
You last visited: Today at 22:37

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Understand binary and how to write it

Discussion on Understand binary and how to write it within the Coding Tutorials forum part of the General Coding category.

Reply
 
Old   #1
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Understand binary and how to write it

I have no idea where this should be posted actually rofl.
I was a bit bored and though I'd do a quick tutorial on how to read and write binary, but as well how to write messages in it.

First of all I'm sure you all know how binary works. It's just a bunch of 1's and 0's. Well no, it's not just a bunch of 0's and 1's. These numbers represents something which is called bits. Some people confuses bits with bytes, but they're not the same. A byte is actually 8 bits.

So what are the 0's and 1's then? Basically you can see bits as lightbulps. Either they're on or off, which also can be said to be true or false.

You read a binary digit from right to left starting with the highest bit controller and then to the lowest.
This is the structure:


So here we have an empty byte:


To represent a number we have to either set these numbers on or off. We can do that by replacing the 0's with 1's. (0 represents off, 1 represents on)

So if we wanted to represent the number 1 then we'd just turns on the last bit (As I said binary starts from higest to lowest.)


So how do you think we represent the number 2?
That is correct we just turns on the second last bit.


But what if we wanted to represent the number 5?
You don't see a number 5 here, do you?


This is where math plays a role.
Think of 2 numbers that makes 5...

Though of any yet?
4 + 1 does. If we then turns the bits on that represents 4 and 1, well guess what that represents 5.


Now you should be able to understand how to write numbers using binary.
Then let's take a look at writing messages.
We know that 1 byte represents 8 bits. Now to understand how to write messages then you need to understand a character represents 1 byte.
So a byte is basically equal to a character.

We'll take a look at ASCII now.
Take a look at this:


That is the ASCII character table.
We'll be focusing on the column "DEC" and the column "CHAR".

Now I'm not trying to make you memorize the whole ASCII table, because that might be hard.

Instead of trying to remember what decimal each character represent then try to group the table which it already is.

(Signed byte)
Non-characters goes from 0-31.
Characters-A goes from 32-47
Numbers goes from 48-57
Characters-B goes from 58-64
Upper-case characters goes from 65-90
Characters-C goes from 91-96
Lower-case characters goes fom 97-122
Characters-D goes from 123-126
Delete is 127
(Unsigned byte)
Extended characters goes from 128-255

Now if you can learn the basic groups. Numbers, Uper-case characters and Lower-case characters. Just their start offsets then you can already write messages.

If you know the alphabet that is.

The decimal column represents the number of bits the byte should be.
Ex. A would be 65 bits.
This would be the binary number for A:


Because 64 + 1 = 65.

So if you've learned how to memorize the groups of the ASCII table then you should be able to find the next character for your message.
As you already know Upper-cases starts at 65 and Lower-case at 97.
Then let's say we want F. Then we just start from A (65) and then counts one up untill we reach F.

Try to see if you can understand this message without using a translator!
Code:
01000011 01101111 01101110 01100111 01110010 01100001 01110101 01110100 01101100 01100001 01110100 01101001 01101111 01101110 01110011 00101100 00100000 01111001 01101111 01110101 00100000 01101110 01101111 01110111 00100000 01110101 01101110 01100100 01100101 01110010 01110011 01110100 01100001 01101110 01100100 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00101110
I hope this helped you learning and understanding binary.
Super Aids is offline  
Thanks
3 Users
Old 03/07/2013, 12:34   #2
 
xXKonaXx's Avatar
 
elite*gold: 20
Join Date: Nov 2010
Posts: 552
Received Thanks: 350
Really helpful, thanks.
xXKonaXx is offline  
Old 03/07/2013, 15:09   #3
 
elite*gold: 10
Join Date: Aug 2012
Posts: 813
Received Thanks: 106
Nice but this picture isn´t so good.
Quote:
Originally Posted by Super Aids View Post
At this picture you can see it better.
Picture:
GodHacker is offline  
Old 03/07/2013, 23:14   #4
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1,000
Received Thanks: 138
nice, danke fürs verstehen lernen.
xMischa is offline  
Old 03/08/2013, 00:44   #5
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Quote:
Originally Posted by GodHacker View Post
Nice but this picture isn´t so good.


At this picture you can see it better.
Picture:
Yes, thank you for this. I will eventually update all the images
Super Aids is offline  
Old 03/12/2013, 20:03   #6
 
elite*gold: 0
Join Date: Mar 2010
Posts: 458
Received Thanks: 125
Thanks Very Helpful and ur Message:

Congratulations, You now understand binary.
soly95 is offline  
Reply


Similar Threads Similar Threads
hax u cant understand
01/10/2013 - Wolfteam - 5 Replies
all over youtube there are videos of wolteam hacks and forums and fake and real downloads but there all in german and i was hoping someone could please translate one Posted from elitepvpers.com App for Android
why don't y'all understand
09/12/2012 - Rappelz Private Server - 13 Replies
200x isn't a PvP server. Anything that isn't max level at log-in is PvE with fast leveling. Quit making 150x/200x servers and claiming that they are PvP. Thanks.
[Relese]Tq Binary translation 98% + all Binary Files
07/07/2009 - CO2 Private Server - 20 Replies
#Removed



All times are GMT +2. The time now is 22:37.


Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2023 elitepvpers All Rights Reserved.