Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Base 64

Alex Howell edited this page Mar 23, 2021 · 3 revisions

Base 64

Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit bytes) in an ASCII string format by translating the data into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding. Each non-final Base64 digit represents exactly 6 bits of data. Three 8-bit bytes (i.e., a total of 24 bits) can therefore be represented by four 6-bit Base64 digits.

Common to all binary-to-text encoding schemes, Base64 is designed to carry data stored in binary formats across channels that only reliably support text content. Base64 is particularly prevalent on the World Wide Web where its uses include the ability to embed image files or other binary assets inside textual assets such as HTML and CSS files.

The particular set of 64 characters chosen to represent the 64-digit values for the base varies between implementations. The general strategy is to choose 64 characters that are common to most encodings and that are also printable. This combination leaves the data unlikely to be modified in transit through information systems, such as email, that were traditionally not 8-bit clean. For example, MIME's Base64 implementation uses A–Z, a–z, and 0–9 for the first 62 values. Other variations share this property but differ in the symbols chosen for the last two values; an example is UTF-7.

Base64 in 0R8

Base64 is mostly the encode format in which Kaos Rio gives clues to the game in a text form. Examples: VGhleSdyZSBiZWluZyBidWlsdC4= | VG9tb3Jyb3cu.

Base64 Index Table:

Index Binary Char Index Binary Char Index Binary Char

0 000000 A 16 010000 Q 32 100000 g 48 110000 w

1 000001 B 17 010001 R 33 100001 h 49 110001 x

2 000010 C 18 010010 S 34 100010 i 50 110010 y

3 000011 D 19 010011 T 35 100011 j 51 110011 z

4 000100 E 20 010100 U 36 100100 k 52 110100 0

5 000101 F 21 010101 V 37 100101 l 53 110101 1

6 000110 G 22 010110 W 38 100110 m 54 110110 2

7 000111 H 23 010111 X 39 100111 n 55 110111 3

8 001000 I 24 011000 Y 40 101000 o 56 111000 4

9 001001 J 25 011001 Z 41 101001 p 57 111001 5

10 001010 K 26 011010 a 42 101010 q 58 111010 6

11 001011 L 27 011011 b 43 101011 r 59 111011 7

12 001100 M 28 011100 c 44 101100 s 60 111100 8

13 001101 N 29 011101 d 45 101101 t 61 111101 9

14 001110 O 30 011110 e 46 101110 u 62 111110 +

15 001111 P 31 011111 f 47 101111 v 63 111111 /

Padding =

Note: there are 64 numbers here, but in computer language, it starts from 0, not 1!

Recommended tool/website to encode and decode base64:

www.base64decode.org is one of the best - if not the best - website that can encode and decode base64 characters, and it's free!

Codebeautify - Base64 to imae converter This was used to decode the latest picture that was posted on Google Drive by KaosRio.

Sidebar

Clone this wiki locally