Base64 Basics
denvaar.dev·1d
🔢Binary Formats
Preview
Report Post

Base64 is an encoding scheme used to change binary data into text.

2018-10-02

programming

Base64 encoding is common on the web. It’s used to transmit and represent binary data, like images, fonts, and more. It looks like a big block of text, which is exactly what it is.

Base64 is not used to compress or encrypt, but its purpose is simply to allow the data to be moved around on the web, because many web technologies expect data in a textual format.

Much of programming is about transforming data. Understanding how this transformation from binary to text takes place is pretty interesting. I recently took some time to understand how it works, and so I’m sharing what I have learned. Here is a link to a sample program that I made to encode and de…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help