<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=141.23.211.176</id>
	<title>Vero - Wikipedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=141.23.211.176"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php/Special:Contributions/141.23.211.176"/>
	<updated>2026-08-06T11:47:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=DES-X&amp;diff=373681</id>
		<title>DES-X</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=DES-X&amp;diff=373681"/>
		<updated>2024-10-31T09:53:52Z</updated>

		<summary type="html">&lt;p&gt;141.23.211.176: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|Block cipher}}&lt;br /&gt;
In [[cryptography]], &#039;&#039;&#039;DES-X&#039;&#039;&#039; (or &#039;&#039;&#039;DESX&#039;&#039;&#039;) is a variant on the [[Data Encryption Standard|DES]] (Data Encryption Standard) [[Symmetric-key algorithm|symmetric-key]] [[block cipher]] intended to increase the complexity of a [[brute-force attack]]. The technique used to increase the complexity is called &#039;&#039;[[key whitening]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The original DES algorithm was specified in 1976 with a 56-bit [[key size]]: 2&amp;lt;sup&amp;gt;56&amp;lt;/sup&amp;gt; possibilities for the [[key (cryptography)|key]]. There was criticism that an exhaustive search might be within the capabilities of large governments, particularly the United States&#039; [[National Security Agency]] (NSA). One scheme to increase the key size of DES without substantially altering the algorithm was DES-X, proposed by [[Ron Rivest]] in May 1984.&lt;br /&gt;
&lt;br /&gt;
The algorithm has been included in [[RSA Security]]&#039;s [[RSA BSAFE|BSAFE]] cryptographic library since the late 1980s.&lt;br /&gt;
&lt;br /&gt;
DES-X augments DES by [[XOR]]ing an extra 64 bits of key (K&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;) to the [[plaintext]] &#039;&#039;before&#039;&#039; applying DES, and then XORing another 64 bits of key (K&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;) &#039;&#039;after&#039;&#039; the encryption:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mbox{DES-X}(M) = K_2 \oplus \mbox{DES}_K(M \oplus K_1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Xor Encrypt Xor.svg]]&lt;br /&gt;
&lt;br /&gt;
The key size is thereby increased to 56 + (2 &amp;amp;times; 64) = 184 bits.&lt;br /&gt;
&lt;br /&gt;
However, the effective key size (security) is only increased to 56+64−1−&#039;&#039;lb(M)&#039;&#039; = 119 − &#039;&#039;lb(M)&#039;&#039; = ~119 bits, where &#039;&#039;M&#039;&#039; is the number of [[Chosen-plaintext attack|chosen plaintext/ciphertext pairs]] the adversary can obtain, and &#039;&#039;lb&#039;&#039; denotes the [[binary logarithm]]. Moreover, effective key size drops to 88 bits given 2&amp;lt;sup&amp;gt;32.5&amp;lt;/sup&amp;gt; known plaintext and using advanced slide attack.&lt;br /&gt;
&lt;br /&gt;
DES-X also increases the strength of DES against [[differential cryptanalysis]] and [[linear cryptanalysis]], although the improvement is much smaller than in the case of brute force attacks. It is estimated that differential [[cryptanalysis]] would require 2&amp;lt;sup&amp;gt;61&amp;lt;/sup&amp;gt; chosen plaintexts (vs. 2&amp;lt;sup&amp;gt;47&amp;lt;/sup&amp;gt; for DES), while linear cryptanalysis would require 2&amp;lt;sup&amp;gt;60&amp;lt;/sup&amp;gt; known plaintexts (vs. 2&amp;lt;sup&amp;gt;43&amp;lt;/sup&amp;gt; for DES or 2&amp;lt;sup&amp;gt;61&amp;lt;/sup&amp;gt; for DES with independent subkeys.&amp;lt;ref&amp;gt;{{cite journal | doi=10.1007/BF00630563 |doi-access=free | title=Differential cryptanalysis of DES-like cryptosystems | date=1991 | last1=Biham | first1=Eli | last2=Shamir | first2=Adi | journal=Journal of Cryptology | volume=4 | pages=3–72 | s2cid=33202054 }}&amp;lt;/ref&amp;gt;) Note that with 2&amp;lt;sup&amp;gt;64&amp;lt;/sup&amp;gt; plaintexts (known or chosen being the same in this case), DES (or indeed any other [[block cipher]] with a 64 bit [[block size (cryptography)|block size]]) is totally broken as the whole cipher&#039;s codebook becomes available.&lt;br /&gt;
&lt;br /&gt;
Although the differential and linear attacks, currently best attack on DES-X is a known-plaintext slide attack&lt;br /&gt;
discovered by Biryukov-Wagner &amp;lt;ref&amp;gt;{{cite book |url=https://www.iacr.org/archive/eurocrypt2000/1807/18070595-new.pdf |doi=10.1007/3-540-45539-6_41 |doi-access=free |isbn=978-3-540-67517-4 |chapter=Advanced Slide Attacks |title=Advances in Cryptology — EUROCRYPT 2000 |series=Lecture Notes in Computer Science |date=2000 |last1=Biryukov |first1=Alex |last2=Wagner |first2=David |volume=1807 |pages=589–606 }}&amp;lt;/ref&amp;gt; which has complexity of 2&amp;lt;sup&amp;gt;32.5&amp;lt;/sup&amp;gt; known plaintexts and 2&amp;lt;sup&amp;gt;87.5&amp;lt;/sup&amp;gt; time of analysis. Moreover the attack is easily converted into a ciphertext-only attack with the same data complexity and 2&amp;lt;sup&amp;gt;95&amp;lt;/sup&amp;gt; offline time complexity.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[G-DES]]&lt;br /&gt;
* [[Meet-in-the-middle attack]]&lt;br /&gt;
* [[Triple DES]]&lt;br /&gt;
* [[Xor–encrypt–xor]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
* {{cite book |doi=10.1007/3-540-68697-5_20 |doi-access=free |chapter=How to Protect DES Against Exhaustive Key Search |title=Advances in Cryptology — CRYPTO &#039;96 |series=Lecture Notes in Computer Science |date=1996 |last1=Kilian |first1=Joe |last2=Rogaway |first2=Phillip |volume=1109 |pages=252–267 |isbn=978-3-540-61512-5 }}&lt;br /&gt;
* P. Rogaway, [https://web.cs.ucdavis.edu/~rogaway/papers/cryptobytes.pdf The security of DESX] (PDF), CryptoBytes &#039;&#039;&#039;2&#039;&#039;&#039;(2) (Summer 1996).&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://web.archive.org/web/20040618163311/http://www.rsasecurity.com/rsalabs/node.asp?id=2232 RSA FAQ Entry]&lt;br /&gt;
&lt;br /&gt;
{{Cryptography navbox | block}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Broken block ciphers]]&lt;br /&gt;
[[Category:Data Encryption Standard]]&lt;/div&gt;</summary>
		<author><name>141.23.211.176</name></author>
	</entry>
</feed>