WO2006102003A2 - Systems and methods for performing double encryption to inhibit meet-in-the-middle attacks - Google Patents

Systems and methods for performing double encryption to inhibit meet-in-the-middle attacks Download PDF

Info

Publication number
WO2006102003A2
WO2006102003A2 PCT/US2006/009567 US2006009567W WO2006102003A2 WO 2006102003 A2 WO2006102003 A2 WO 2006102003A2 US 2006009567 W US2006009567 W US 2006009567W WO 2006102003 A2 WO2006102003 A2 WO 2006102003A2
Authority
WO
WIPO (PCT)
Prior art keywords
key
encryption
whitening
ciphertext
produce
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2006/009567
Other languages
French (fr)
Other versions
WO2006102003A3 (en
Inventor
Debra L. Cook
Marcel Mordechay Yung
Angelos D. Keromytis
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Columbia University in the City of New York
Original Assignee
Columbia University in the City of New York
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Columbia University in the City of New York filed Critical Columbia University in the City of New York
Publication of WO2006102003A2 publication Critical patent/WO2006102003A2/en
Publication of WO2006102003A3 publication Critical patent/WO2006102003A3/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms

Definitions

  • the present invention relates to the field of encryption. More particularly, this invention relates to increasing the security of encryption while reducing the time required to obtain that security.
  • Ciphertext 210 is decrypted with a cipher 220 using a key 230 to produce plaintext 240.
  • ⁇ D k denotes decryption using key k
  • ⁇ P and Pi denote plaintext, where i is an integer
  • Ci denotes ciphertext, where i is an integer; ⁇ H(x) denotes a hash of x;
  • ⁇ whitening is the process of adding some confusion to data
  • ⁇ whitening may be performed, for example, by exclusive-oring the data with a string of bits generated by a pseudo-random function or a hash function;
  • ⁇ W k consists of whitening key bits dependent on key k
  • ⁇ n denotes the length of a key
  • DES Data Encryption Standard
  • DEA Data Encryption Algorithm
  • Double encryption refers to using two independent keys to encrypt P twice.
  • 3DES Triple DES is encryption that may be represented by
  • Methods and systems are provided for the encryption of data.
  • methods and systems are provided for encrypting plaintext wherein the plaintext is encrypted with a first key, encrypted with a second key, and then exclusive-ored with a whitening of a third key to produce ciphertext.
  • methods and systems for decrypting ciphertext wherein the ciphertext is exclusive-ored with a whitening of a third key, decrypted with a second key, and then decrypted with a first key to produce plaintext.
  • methods and systems are provided for encrypting plaintext wherein the plaintext is exclusive-ored with a whitening of a third key, encrypted with a first key, and then encrypted with a second key to produce ciphertext.
  • methods and systems for decrypting ciphertext wherein the ciphertext is decrypted with a second key, decrypted with a first key, and then exclusive-ored with a whitening of a third key to produce plaintext.
  • FIG. 1 is a simplified illustration of data being encrypted
  • FIG. 2 is a simplified illustration of data being decrypted
  • FIG. 3 is a simplified illustration of a method for encrypting data in accordance with certain embodiments of the present invention.
  • FIG. 4 is a simplified illustration of a system that may be used in accordance with certain embodiments of the present invention.
  • FIG. 5 is a simplified illustration of a method for decrypting ciphertext in accordance with certain embodiments of the present invention.
  • Methods and systems are provided for the encryption of data, hi some embodiments, methods and systems are provided for performing double encryption along with whitening. This is provided in a way that requires less work than triple encryption and avoids a meet-in-the-middle attack to which double encryption alone would be subject.
  • Embodiments of this invention apply not only to, for example, DES and AES, but apply equally well to any encryption cipher.
  • methods and systems are provided for encrypting plaintext wherein the plaintext is encrypted with a first key, encrypted with a second key, and then exclusive-ored with a whitening of a third key to produce ciphertext.
  • methods and systems for decrypting ciphertext are provided wherein the ciphertext is exclusive-ored with a whitening of a third key, decrypted with a second key, and then decrypted with a first key to produce plaintext.
  • methods and systems are provided for encrypting plaintext wherein the plaintext is exclusive-ored with a whitening of a third key, encrypted with a first key, and then encrypted with a second key to produce ciphertext.
  • methods and systems for decrypting ciphertext wherein the ciphertext is decrypted with a second key, decrypted with a first key, and then exclusive-ored with a whitening of a third key to produce plaintext.
  • the third key in this description is used in the whitening while the first and second key are used for both encryption and decryption.
  • embodiments of the systems and methods of this invention can be practiced with any numbering scheme for the keys.
  • the present invention adds a hash of key material to double encryption:
  • Equation II A simple illustration of equation II can be seen in FIG. 3.
  • the first step is to encrypt the data with kl at step 320.
  • the result of that first encryption is then encrypted with k2 at step 330.
  • the final step 340 is to XOR the whitening based on k3 with the result of the second encryption to produce the ciphertext 350.
  • Some embodiments of the present invention may be used to send data over a network as demonstrated in FIG. 4.
  • plaintext 430 residing on a system 400 comprising a processor may be encrypted 420 using one embodiment of the present invention.
  • the created ciphertext 480 may then be sent over a network 440 to another system 450.
  • That system may then decrypt 460 the ciphertext using an embodiment of the present invention to produce the plaintext 470, which is the same as the plaintext 430 that was originally encrypted.
  • Other embodiments may encrypt data to be stored on media, memory, or any other suitable storage or transfer mechanism.
  • the systems referenced by 400 and 450 may be, for example, laptop computers, mobile phones, personal digital assistants, or any type of device capable of using the underlying cipher for encryption or decryption. Furthermore, they do not have to be the same type of system. Also, the systems may share the first key, second key, and third key using methods known in the art.
  • the whitening is the output of a hash function or some other function, it is preferably computed once during the key expansion and not per plaintext, i.e., the same whitening is preferably used for each plaintext throughout the encryption.
  • the whitening of k3 may be performed either before or after performing the double encryption.
  • the key, k3, can either be a combination of kl and k2, or a third key of length > n.
  • a block length, b, greater than or equal to n is assumed (b ⁇ n). Both options result in the attacker having to try 2 2n key combinations instead of only 2 n combinations.
  • the generic construction is analyzed below and one possible hash for whitening is suggested. [0029] The following assumptions are made in this discussion:
  • Wk 3 is the output of a pseudo-random function (PRF) acting on input k3 ;
  • PRF pseudo-random function
  • a meet-in-the-middle attack also requires finding 2n key bits.
  • k3 is independent of kl and k2 then, since both b and ]k3
  • the whitening is independent of the cipher's key schedule so an attacker cannot try all possible kl or k2 values and have the whitening included in the expanded key bits.
  • ciphertext can be decrypted. This can be seen by manipulating encryption equations I and II: C ⁇ H(kl
  • decryption may be performed by first doubly decrypting the ciphertext with a second and first key and then XORing the result with the whitening of a third key.
  • This invention improves a double encryption's resistance to attacks. It relies on the used block cipher having a sufficient level of resistance to attacks aside from an exhaustive key search.
  • This invention provides a way that a double application of DES with a final whitening can be used to achieve the same purpose of 3DES while requiring fewer computations than 3DES.
  • the initial and final permutations are not required between each pair of applications because sequential applications of DES result in pairs of the permutations that merely undo each other.
  • the final permutation of the first encryption and the initial permutation of the second encryption are omitted. Therefore, 2DES with a final whitening step offers a savings over 3DES by eliminating one application of DES minus the initial permutation while adding only the cost of the XOR required for the whitening.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

Methods and systems are provided for the encryption of data. In one embodiment, the invention provides a method for performing double encryption and applying whitening while providing a key length of at least 2n where the key of the original cipher is n bits. This is provided in a way that requires less work than three applications of the cipher and avoids a meet-in-the-middle attack to which double encryption by itself would be subject.

Description

SYSTEMS AND METHODS FOR PERFORMING DOUBLE ENCRYPTION TO INHIBIT MEET-IN-THE-MIDDLE ATTACKS
Cross-Reference to Related Application
[0001] This application claims the benefit under 35 U.S.C. §119(e) of United States
Provisional Patent Application No. 60/662,269, filed March 16, 2005, which is hereby incorporated by reference herein in its entirety.
Field of the Invention
[0002] The present invention relates to the field of encryption. More particularly, this invention relates to increasing the security of encryption while reducing the time required to obtain that security.
Background of the Invention
[0003] Due to the ubiquity of information exchange on the Internet and other computer platforms, it is important to have access to methods of securely transmitting information from one party to another and keeping private information unreadable to all but the those who should be granted rightful access. Encryption is the process of obscuring information to make it unreadable without special knowledge. The data to be encrypted is referred to as plaintext, the encrypted form is referred to as ciphertext, and the secret information used to encrypt the plaintext is known as a key. A simple illustration of encrypting plaintext to ciphertext with a key can be seen FIG. 1. Plaintext 110 is encrypted with a cipher 120 using a key 130 to produce ciphertext 140. FIG. 2 shows a decryption of ciphertext to plaintext with a key. Ciphertext 210 is decrypted with a cipher 220 using a key 230 to produce plaintext 240. [0004] The notation below will be used through out this description:
k, ki, K, and K; denote keys, where i is an integer;
Ek denotes encryption using key k;
Dk denotes decryption using key k;
P and Pi denote plaintext, where i is an integer;
C and Ci denotes ciphertext, where i is an integer; H(x) denotes a hash of x;
whitening is the process of adding some confusion to data;
whitening may be performed, for example, by exclusive-oring the data with a string of bits generated by a pseudo-random function or a hash function;
Wk consists of whitening key bits dependent on key k;
n denotes the length of a key; and
the symbol θ is used to denote the exclusive-or operation (XOR). [0005] DES (Data Encryption Standard) is a widely used cipher that employs the DEA (Data Encryption Algorithm) for encrypting information. DES is now considered to be insecure for many applications especially as some modern computers are able to decrypt data encrypted with DES in a matter of hours. As such, enhancements and alternatives are needed.
[0006] Double encryption refers to using two independent keys to encrypt P twice.
This may be represented in equation form as C = Ek2(EkI(P)). Use of double encryption was intended to provide double the security because an exhaustive search of all possible combinations of keys of length n would take 22n attempts, compared to the 2" attempts required to break a single encryption.
[0007] However, double encryption alone has long been known to provide little additional security over a single application of a cipher due to its susceptibility to a meet-in- the-middle attack. Given a double encryption, C = Ek2(Ek1(P)), an attacker can compute and store Eki(P) and Dy(C) for all possible keys to find a ki, kj for which EH(P) = Dkj(C). When searching for a match, 2n memory locations are required to store the values EM(P) or D^(P) for every possible key. Upon finding this match, the attacker can then verify it with a second set of P and C. This attack requires only 2n+1 attempts for encrypting and decrypting with all 2n possible keys, and thus double encryption alone is not worth the time needed to perform the second encryption.
[0008] 3DES (Triple DES) is encryption that may be represented by
C= Ek3(Dk2(Ek1(P))). Even with a meet in the middle attack, 3DES requires 22n attempts for an attacker because all possible combinations of (kl,k2) must be tried. However, 3DES requires a large amount of work for encryption and decryption and thus can be too slow in many situations. [0009] Advance Encryption Standard (AES) is a newer cipher that has, in addition to other differences, a larger block and key size than DES. While this standard offers greater protection over DES, it is not yet implemented everywhere. Further, it is likely that as computer speeds increase, brute force attacks will become practical against AES encrypted data.
[0010] It has been proposed to add initial and final whitening as a way of requiring less work than 3DES while providing a longer key. This construction can be written genetically as C = K2 θ Ek (K1 θ P) . DESX is the name given to this construction when applied to DES. hi DESX, K1 and K2 are each 64 bits and k is 56 bits, thus requiring a 184 bit key (64 + 64 + 56). As a result of the longer key length compared to the original cipher, this construction increases the security of the cipher against an exhaustive key search without requiring multiple applications of the cipher.
[0011] Further analysis of C = K2 θ Ek (K1 ® P) has demonstrated that without the initial whitening, i.e., C = K2 θ Ek(P), extra security against an exhaustive key search is not provided because K2 = C θ Ek(P). Using two or more known plaintext ciphertext pairs, an attacker can compute C ® Ek(P) for each pair and for each k. When the correct k is used, the pairs will produce the same value for K2. Additional pairs can be tested to verify the key is correct. This version of DES with only the final whitening was referred to as DESW. [0012] Therefore, it would be of great benefit to make existing encryption algorithms more secure without having to incur the extra time needed to perform two encryptions.
Summary of the Invention
[0013] Methods and systems are provided for the encryption of data. In some embodiments, methods and systems are provided for encrypting plaintext wherein the plaintext is encrypted with a first key, encrypted with a second key, and then exclusive-ored with a whitening of a third key to produce ciphertext.
[0014] In other embodiments, methods and systems for decrypting ciphertext are provided wherein the ciphertext is exclusive-ored with a whitening of a third key, decrypted with a second key, and then decrypted with a first key to produce plaintext. [0015] In still other embodiments, methods and systems are provided for encrypting plaintext wherein the plaintext is exclusive-ored with a whitening of a third key, encrypted with a first key, and then encrypted with a second key to produce ciphertext. [0016] hi yet other embodiments, methods and systems for decrypting ciphertext are provided wherein the ciphertext is decrypted with a second key, decrypted with a first key, and then exclusive-ored with a whitening of a third key to produce plaintext.
Brief Description of the Drawings
[0017] The above and other advantages of the present invention will be apparent upon consideration of the following detailed description, taken in conjunction with accompanying drawings, in which like reference characters refer to like parts throughout, and in which:
[0018] FIG. 1 is a simplified illustration of data being encrypted;
[0019] FIG. 2 is a simplified illustration of data being decrypted;
[0020] FIG. 3 is a simplified illustration of a method for encrypting data in accordance with certain embodiments of the present invention;
[0021] FIG. 4 is a simplified illustration of a system that may be used in accordance with certain embodiments of the present invention; and
[0022] FIG. 5 is a simplified illustration of a method for decrypting ciphertext in accordance with certain embodiments of the present invention.
Detailed Description of the Invention
[0023] Methods and systems are provided for the encryption of data, hi some embodiments, methods and systems are provided for performing double encryption along with whitening. This is provided in a way that requires less work than triple encryption and avoids a meet-in-the-middle attack to which double encryption alone would be subject. Embodiments of this invention apply not only to, for example, DES and AES, but apply equally well to any encryption cipher.
[0024] In some embodiments, methods and systems are provided for encrypting plaintext wherein the plaintext is encrypted with a first key, encrypted with a second key, and then exclusive-ored with a whitening of a third key to produce ciphertext. In other embodiments, methods and systems for decrypting ciphertext are provided wherein the ciphertext is exclusive-ored with a whitening of a third key, decrypted with a second key, and then decrypted with a first key to produce plaintext. In still other embodiments, methods and systems are provided for encrypting plaintext wherein the plaintext is exclusive-ored with a whitening of a third key, encrypted with a first key, and then encrypted with a second key to produce ciphertext. In yet other embodiments, methods and systems for decrypting ciphertext are provided wherein the ciphertext is decrypted with a second key, decrypted with a first key, and then exclusive-ored with a whitening of a third key to produce plaintext. For reasons of clarity and consistency, the third key in this description is used in the whitening while the first and second key are used for both encryption and decryption. However, embodiments of the systems and methods of this invention can be practiced with any numbering scheme for the keys.
[0025] hi one embodiment, the present invention adds a hash of key material to double encryption:
(I) C = H(kl|lk2) Θ Ek2(EkI(P)). More generally,
(II) C = Wk3 S Ek2(Ek1(P)) where Wk3 is whitening based on the key k3.
[0026] A simple illustration of equation II can be seen in FIG. 3. Starting with plaintext 310, the first step is to encrypt the data with kl at step 320. The result of that first encryption is then encrypted with k2 at step 330. The final step 340 is to XOR the whitening based on k3 with the result of the second encryption to produce the ciphertext 350. [0027] Some embodiments of the present invention may be used to send data over a network as demonstrated in FIG. 4. As shown, plaintext 430 residing on a system 400 comprising a processor may be encrypted 420 using one embodiment of the present invention. The created ciphertext 480 may then be sent over a network 440 to another system 450. That system may then decrypt 460 the ciphertext using an embodiment of the present invention to produce the plaintext 470, which is the same as the plaintext 430 that was originally encrypted. Other embodiments may encrypt data to be stored on media, memory, or any other suitable storage or transfer mechanism. The systems referenced by 400 and 450 may be, for example, laptop computers, mobile phones, personal digital assistants, or any type of device capable of using the underlying cipher for encryption or decryption. Furthermore, they do not have to be the same type of system. Also, the systems may share the first key, second key, and third key using methods known in the art. [0028] Regardless of whether the whitening is the output of a hash function or some other function, it is preferably computed once during the key expansion and not per plaintext, i.e., the same whitening is preferably used for each plaintext throughout the encryption. However, the whitening of k3 may be performed either before or after performing the double encryption. The key, k3, can either be a combination of kl and k2, or a third key of length > n. A block length, b, greater than or equal to n is assumed (b ≥ n). Both options result in the attacker having to try 22n key combinations instead of only 2n combinations. The generic construction is analyzed below and one possible hash for whitening is suggested. [0029] The following assumptions are made in this discussion:
• Wk3 is the output of a pseudo-random function (PRF) acting on input k3 ;
• Wk3 is not part of the key schedule of the block cipher;
• Wk3 is independent of the plaintext;
• |k3| > |kl I and |kl | = |k2| = n; and
[0030] It should be considered that the placement of the XOR is relevant, as demonstrated in the following equation: C = Ek2(Wk3 θ Ek1(P)). Adding the hash between the two encryptions provides no benefit because a meet-in-the-middle attack using pairs of plaintext and ciphertext is possible. Given plaintext and ciphertext (Pl, Cl) and (P2, C2), for each kl, an attacker could encrypt Pl and P2 then XOR the resulting ciphertext, or similarly, for each k2, decrypt Cl and C2 then XOR the resulting plaintext. Then the attacker could check for which (kl, k2) the two results match and thus achieve a meet-in-the-middle attack. This, specifically, can be seen in the following equation:
Dk2(Cl) θ Dk2^) = W16 θ Ekl(Pl) ® Wk3 θ Ekl(P2) = Ek1(Pl) θ Ekl(P2) [0031] The analysis of equation II applies regardless of whether the whitening is added before or after the double encryption. That is, the encryption may also be performed by first XORing a whitening of a third key with the plaintext and then performing the double encryption on that result as demonstrated in the following equation: C = Ek2(Ek1(Wk3 θ P)). Without loss of generality, the construction is analyzed with the whitening at the end, as shown in equation II. When the whitening is added after both encryptions, an exhaustive key search requires 22n attempts. Attempting to find the keys by applying two encryptions and then applying the whitening directly will require trying keys of length 2n (combinations of kl and k2). Given known plaintext and ciphertext (P, C) pairs, by encrypting pairs of plaintexts with each (kl3k2) guess, the resulting ciphertexts can be XORed and matched against the XOR of the known ciphertexts to determine if the guess is correct. Once kl and k2 are known, if (Pl, Cl) are also known, the whitening can be determined by computing EkZ(Ek1(Pl)) θ C. Specifically, encrypting plaintexts Pl and P2 results in:
Cl θ Wk3 = Ek2(Ek1(Pl)) and C2 © Wk3 = Ek2 (Ekl(P2)). Therefore, Cl θ C2 = Ek2(Ek1(Pl)) θ Ek2(Ekl(P2)).
[0032] A meet-in-the-middle attack also requires finding 2n key bits. The goal of an attacker is to find keys such that Dk2 (C θ Wk3) = Ekl(P). To do this, both D^(C θ Wk3) and Ek1(P) must be computed. The whitening bits must be guessed in order to decrypt. Since Wk3 is unknown, the minimum work required to undo the whitening is the minimum of 2b and 2' '. Every possible k2 must be tried with every possible Wk3 when performing a meet- in-the-middle attack. If k3 = kl||k2, then there are 22n possible (k2, k3) combinations. If k3 is independent of kl and k2 then, since both b and ]k3| are greater than n, there are at least 22n combinations to test. The whitening is independent of the cipher's key schedule so an attacker cannot try all possible kl or k2 values and have the whitening included in the expanded key bits.
[0033] If the cipher includes whitening as its last step, or if the whitening is performed before the two encryptions, then, in theory, there may exist a k4 that produces the same expanded key bits as k2 except that the final whitening corresponds to the final whitening of the cipher XORed with Wk3. If this occurs, and attacker can ignore Wk3 completely and use a meet-in-the-middle attack to find kl and k4. This is the same scenario that was described for the equation C = K2 θ Ek (K1 θ P) . However, assuming the key schedule is well designed, it would be unlikely that changing any number of bits in the key would impact only a subset of the expanded key bits.
[0034] In another embodiment of this invention, ciphertext can be decrypted. This can be seen by manipulating encryption equations I and II: C θ H(kl||k2) = Ek2(Ek1(P)), and C S Wk3 = Ek2(Ek1(P)) where Wk3 is whitening based on the key k3. Therefore, P = Dw(Dk2(C θ Wk3) ^ DkI(Dk2(Ek2(Ek1(P)))). [0035] A simple illustration of decryption according to an embodiment of the present invention can be seen in FIG. 5. To decrypt the ciphertext 510, one may first XOR the whitening of a third key with the ciphertext at step 520. The result of that operation may then be decrypted with the second key at step 530. The final step is to decrypt the results of the previous step with the first key at step 540 to produce the plaintext 550. The embodiment used for decryption of the ciphertext depends on whether the whitening of the third key was XORed with the plaintext or if it was XORed with the doubly encrypted data. Accordingly, in some embodiments of the present invention decryption may be performed by first doubly decrypting the ciphertext with a second and first key and then XORing the result with the whitening of a third key. The same details discussed for possible embodiments of methods and systems for encryption also apply to methods and systems for decryption. [0036] This invention improves a double encryption's resistance to attacks. It relies on the used block cipher having a sufficient level of resistance to attacks aside from an exhaustive key search. This invention provides a way that a double application of DES with a final whitening can be used to achieve the same purpose of 3DES while requiring fewer computations than 3DES. hi implementations of 3DES, the initial and final permutations are not required between each pair of applications because sequential applications of DES result in pairs of the permutations that merely undo each other. Likewise, in 2DES, the final permutation of the first encryption and the initial permutation of the second encryption are omitted. Therefore, 2DES with a final whitening step offers a savings over 3DES by eliminating one application of DES minus the initial permutation while adding only the cost of the XOR required for the whitening.
[0037] Although the invention has been described and illustrated in the foregoing illustrative embodiments, it is understood that the present disclosure has been made only by way of example, and that numerous changes in the details of implementation of the invention can be made without departing from the spirit and scope of the invention. For example, although the example underlying encryption used was DES, the invention is not limited in this manner. Rather, according to various embodiments of the present invention, different methods of encryption can be used.
[0038] Therefore, other embodiments, extensions, and modifications of the ideas presented above are comprehended and should be within the reach of one versed in the art upon reviewing the present disclosure. Accordingly, the scope of the present invention in its various aspects should not be limited by the examples presented above. The individual aspects of the present invention, and the entirety of the invention should be regarded so as to allow for such design modifications and future developments within the scope of the present disclosure. The present invention is limited only by the claims that follow.

Claims

Claims What is claimed is:
1. A method for encrypting data using a first key, a second key, and a third key, comprising: encrypting the data with the first key to produce a first encryption; encrypting the first encryption with the second key to produce a second encryption; and performing an exclusive-or of a whitening of the third key and the second encryption to produce ciphertext.
2. The method of claim 1 , wherein at least one of the first encryption and the second encryption use the Data Encryption Algorithm (DEA) of the Data Encryption Standard (DES).
3. The method of claim 1 , wherein the third key is a combination of the first key and the second key.
4. The method of claim 1 , wherein the whitening is the output of a pseudorandom function.
5. The method of claim 1 , wherein the whitening is the output of a hash function.
6. A method for encrypting data using a first key, a second key, and a third key, comprising: performing an exclusive-or of a whitening of the third key and the data to produce a first result; encrypting the first result with the first key to produce a first encryption; and encrypting the first encryption with the second key to produce ciphertext.
7. The method of claim 6, wherein at least one of the first encryption and the second encryption use the Data Encryption Algorithm (DEA) of the Data Encryption Standard (DES).
8. The method of claim 6, wherein the third key is a combination of the first key and the second key.
9. The method of claim 6, wherein the whitening is the output of a pseudorandom function.
10. The method of claim 6, wherein the whitening is the output of a hash function.
11. A method for decrypting ciphertext using a first key, a second key, and a third key, comprising: performing an exclusive-or of a whitening of the third key and the ciphertext to produce a first result; decrypting the first result with the second key to produce a second result; and decrypting the second result with the first key.
12. The method of claim 11, wherein at least one of the first decryption and the second decryption use the Data Encryption Algorithm (DEA) of the Data Encryption Standard (DES).
13. The method of claim 11 , wherein the third key is a combination of the first key and the second key.
14. The method of claim 11 , wherein the whitening is the output of a pseudorandom function.
15. The method of claim 11 , wherein the whitening is the output of a hash function.
16. A method for decrypting ciphertext using a first key, a second key, and a third key, comprising: decrypting the ciphertext with the second key to produce a first result; decrypting the first result with the first key to produce a second result; and performing an exclusive-or of a whitening of the third key and the second result.
17. The method of claim 16, wherein at least one of the first decryption and the second decryption use the Data Encryption Algorithm (DEA) of the Data Encryption Standard (DES).
18. The method of claim 16, wherein the third key is a combination of the first key and the second key.
19. The method of claim 16, wherein the whitening is the output of a pseudorandom function.
20. The method of claim 16, wherein the whitening is the output of a hash function.
21. A device comprising a processor, including a first key, a second key, and a third key, that: encrypts data with the first key to produce a first encryption; encrypts the first encryption with the second key to produce a second encryption; and performs an exclusive-or of a whitening of the third key and the second encryption to produce ciphertext.
22. The device of claim 21, wherein at least one of the first encryption and the second encryption use the Data Encryption Algorithm (DEA) of the Data Encryption Standard (DES).
23. The device of claim 21 , wherein the third key is a combination of the first key and the second key.
24. The device of claim 21 , wherein the whitening is the output of a pseudorandom function.
25. The device of claim 21 , wherein the whitening is the output of a hash function.
26. A device comprising a processor, including a first key, a second key, and a third key, that: performs an exclusive-or of a whitening of the third key and the data to produce a first result; encrypts the first result with the first key to produce a first encryption; and encrypts the first encryption with the second key to produce ciphertext.
27. The device of claim 26, wherein at least one of the first encryption and the second encryption use the Data Encryption Algorithm (DEA) of the Data Encryption Standard (DES).
28. The device of claim 26, wherein the third key is a combination of the first key and the second key.
29 The device of claim 26, wherein the whitening is the output of a pseudorandom function.
30. The device of claim 26, wherein the whitening is the output of a hash function.
PCT/US2006/009567 2005-03-16 2006-03-16 Systems and methods for performing double encryption to inhibit meet-in-the-middle attacks Ceased WO2006102003A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US66226905P 2005-03-16 2005-03-16
US60/662,269 2005-03-16

Publications (2)

Publication Number Publication Date
WO2006102003A2 true WO2006102003A2 (en) 2006-09-28
WO2006102003A3 WO2006102003A3 (en) 2007-05-10

Family

ID=37024395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2006/009567 Ceased WO2006102003A2 (en) 2005-03-16 2006-03-16 Systems and methods for performing double encryption to inhibit meet-in-the-middle attacks

Country Status (1)

Country Link
WO (1) WO2006102003A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826558A (en) * 2022-04-06 2022-07-29 郑州朗灵电子科技有限公司 Mass data rapid encryption method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SCHNEIDER B.: 'Applied Cryptography', vol. 2 ED., 1996 pages 357 - 368, XP002244523 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826558A (en) * 2022-04-06 2022-07-29 郑州朗灵电子科技有限公司 Mass data rapid encryption method and system

Also Published As

Publication number Publication date
WO2006102003A3 (en) 2007-05-10

Similar Documents

Publication Publication Date Title
Karri et al. Parity-based concurrent error detection of substitution-permutation network block ciphers
EP2290872B1 (en) Device for generating a message authentication code for authenticating a message
US8300828B2 (en) System and method for a derivation function for key per page
US7319751B2 (en) Data encryption
Li et al. Differential fault analysis on the ARIA algorithm
US8971526B2 (en) Method of counter-measuring against side-channel attacks
KR101091246B1 (en) A simple and efficient one-pass authenticated encryption scheme
US20120170739A1 (en) Method of diversification of a round function of an encryption algorithm
WO2018104412A1 (en) Method of rsa signature or decryption protected using a homomorphic encryption
Alenezi et al. On the performance of AES algorithm variants
Koko et al. Comparison of Various Encryption Algorithms and Techniques for improving secured data Communication
Wu The misuse of RC4 in Microsoft Word and Excel
Saha et al. White-box cryptography based data encryption-decryption scheme for iot environment
US7773753B2 (en) Efficient remotely-keyed symmetric cryptography for digital rights management
US20060153372A1 (en) Smart card and method protecting secret key
CN107766725B (en) Template attack resistant data transmission method and system
Arya et al. Effective AES Implementation
KR20030027459A (en) Method for encrypting and decrypting transmmited and received facket in wireless lan
WO2006102003A2 (en) Systems and methods for performing double encryption to inhibit meet-in-the-middle attacks
Liu et al. Improving tag generation for memory data authentication in embedded processor systems
Qahur Al Mahri et al. Fault analysis of AEZ
Muthavhine et al. Reconstruction of des in order to reduce memory constraints found on iot devices
Liu et al. iCETD: An improved tag generation design for memory data authentication in embedded processor systems
CA2453081A1 (en) Method and apparatus for protecting ntru against a timing attack
Kenekayoro Patrick The data encryption standard thirty four years later: An overview

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase in:

Ref country code: DE

NENP Non-entry into the national phase in:

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 06738605

Country of ref document: EP

Kind code of ref document: A2