<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://halfgeek.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Base64</id>
	<title>Base64 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://halfgeek.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Base64"/>
	<link rel="alternate" type="text/html" href="https://halfgeek.org/wiki/index.php?title=Base64&amp;action=history"/>
	<updated>2026-05-28T12:35:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://halfgeek.org/wiki/index.php?title=Base64&amp;diff=2264&amp;oldid=prev</id>
		<title>Psmay at 13:44, 5 June 2015</title>
		<link rel="alternate" type="text/html" href="https://halfgeek.org/wiki/index.php?title=Base64&amp;diff=2264&amp;oldid=prev"/>
		<updated>2015-06-05T13:44:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Base64&amp;#039;&amp;#039;&amp;#039; is an encoding wherein a binary file is converted into text characters each representing 6 bits, resulting in a best-case 4:3 size ratio to the original.  The characters, which consist of&lt;br /&gt;
&lt;br /&gt;
 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&lt;br /&gt;
&lt;br /&gt;
are common to most text encodings and can generally pass between systems unmangled.&lt;br /&gt;
&lt;br /&gt;
==By word==&lt;br /&gt;
&lt;br /&gt;
A Base64-encoded message is, in essence, a string of 24-bit words encoded in 4 characters each representing 6 bits; specifically, the low 6 bits of the index of the character in the above alphabet.&lt;br /&gt;
&lt;br /&gt;
For an arbitrary sequence of octets to be encoded, three octets at a time must be concatenated, big-endian, into a 24-bit word.  For this to work out evenly, the number of octets in the stream must be a multiple of three.  If it does not work out evenly, the final word is padded with nulls to three octets.  Afterward, for each pad byte added, the rightmost &amp;#039;A&amp;#039; in the final result word is replaced with &amp;#039;=&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Armoring==&lt;br /&gt;
&lt;br /&gt;
See [[Armoring binary data as text]].&lt;/div&gt;</summary>
		<author><name>Psmay</name></author>
		
	</entry>
</feed>