<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Exclusive_Or</id>
		<title>Exclusive Or - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Exclusive_Or"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Exclusive_Or&amp;action=history"/>
		<updated>2026-04-21T21:17:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Exclusive_Or&amp;diff=28111&amp;oldid=prev</id>
		<title>Jsummers: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Encryption }} '''Exclusive Or''' ('''XOR''', or occasionally '''EOR'''), is a logical operation that accepts two bits of input, and...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Exclusive_Or&amp;diff=28111&amp;oldid=prev"/>
				<updated>2017-06-04T21:57:04Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Encryption }} &amp;#039;&amp;#039;&amp;#039;Exclusive Or&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;XOR&amp;#039;&amp;#039;&amp;#039;, or occasionally &amp;#039;&amp;#039;&amp;#039;EOR&amp;#039;&amp;#039;&amp;#039;), is a logical operation that accepts two bits of input, and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Encryption&lt;br /&gt;
}}&lt;br /&gt;
'''Exclusive Or''' ('''XOR''', or occasionally '''EOR'''), is a logical operation that accepts two bits of input, and produces one bit of output. The output is 1 if the input bits differ, and 0 if they are the same.&lt;br /&gt;
&lt;br /&gt;
More generally, the XOR operation can be performed on a stream of binary input, using a fixed-length binary &amp;quot;key&amp;quot;. The key is replicated as needed to make it as long as the input stream, and the 1-bit XOR operation is performed on the corresponding bits. Typical key lengths are 1, 8, 16, 32, or 64 bits.&lt;br /&gt;
&lt;br /&gt;
Some file formats use XOR to obfuscate all or part of their contents. This is done for various reasons, but it usually boils down to a desire to make the format ''not'' be trivially decodable or editable, or to make a format that does ''not'' look like some other format (e.g. to turn a text format into a binary format).&lt;br /&gt;
&lt;br /&gt;
XOR is a standard building block of encryption algorithms, but by itself it offers very weak encryption (unless it qualifies as a ''one-time pad'' ([[Wikipedia:One-time pad|Wikipedia article]])).&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [[Wikipedia: Exclusive or]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Elements of File Formats]]&lt;/div&gt;</summary>
		<author><name>Jsummers</name></author>	</entry>

	</feed>