Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Quick Binary Part 1
- ====================
- by Fray117
- Written From Friday, 6 Jul 2018 22:25 - Until Friday, 6 Jul 2018 23:05 (Edited on 9 Jul 2018 23:06 less in minute)
- - Prolog -
- I want to teach you to reading binary digit.
- what is Binary? Binary is one of two digits (0 or 1) in a binary system of notation, it's written exactly in 1 bytes (8 bit).
- - Identifier -
- if the first 3 bit containing 011 it's Lowercase
- if the first 3 bit containing 010 it's Uppercase
- if the first 4 bit containing 0011 it's Numeric
- - Alphabets -
- Let we forgot the first 4 digit and we should remind this steps.
- Example of Binary: 01000110 01110010 01100001 01111001
- let we translate the first bytes which is 01000110, in binary there is quick way to calculate the results like this.
- Binary: 01000110
- Values: 64, 32 ,16, 8, 4, 2, 1
- in alphabets, calculate from behind. we only calculate bit that has true variable or I mean 1 (one).
- in last bit theres zero then one, one, and zero, etc. we count from behind to front.
- Values Counted: 1, 2, 4, 8, 16
- 5 bit from binary: 0, 1, 1, 0, 0
- we've seen that tables, then we calculate the final results, (only 1 we add) 2 + 4 = 6, so it's the sixth char of alphabets.
- Alphabets: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z.
- Array: 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26.
- so we know from that tables if the sixth char is F, we know the key then we still have to know if it's uppercase or lowercase.
- it's has 010 on first 3 bits contained there, so we can quickly know if the bytes telling us about uppercase F.
- let me do the other bytes so we can quickly go to next part, 18 for second bytes, 1 for the third, and 25 for the last one.
- the last 3 bytes is lowercase so after we find all character it means you may read your first binary bytes manually.
- by the way it's Fray from the bytes you saw earlier.
- - Numeric -
- well, numeric is the most easiest part. is like the alphabets system but way more easier.
- Dictionary:
- 00110001 = 1
- 00110010 = 2
- 00110011 = 3
- 00110100 = 4
- 00110101 = 5
- 00110110 = 6
- 00110111 = 7
- 00111000 = 8
- 00111001 = 9
- 00110000 = 0
- in numerical system you should forgot the first 4 bit first. then use the 1, 2, 4, 8.
- okay that's enough, easy right? easy but almost useless.
- ~ PART 1 DONE in 40 Minutes ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement