Questions tagged [3des]

A block cypher encryption algorithm built from applying three iterations of the original DES algorithm.

3DES, also known as Triple-DES, uses the standard DES algorithm three times. To encrypt, the first operation invokes DES in encrypt mode, the second uses DES in decryption mode, and the last operation uses encrypt mode again (also known as EDE mode). Decryption is performed in DED mode. As it is a reuse of DES, it shares similar attributes; it is still a 64-bit block cypher, each operation still uses initial and final permutation steps, and it still is based on the underlying Feistel network design.

DES was originally specified as a hardware device, with software implementations not being certified for use to protect secrets. Once the original DES key size of 56 bits was recognized as too cryptographically weak to continue to be used safely, cryptographers needed a safe algorithm while they awaited a new FIPS standard for encryption. Instead of taking the risk on an unproven algorithm, DES was easily reused simply by chaining three encoders together, connecting the output of each to the input of the next.

Keying options for 3DES include three independent keys; two independent keys where the key for the first and third encryptions are identical; and three identical keys. The three identical key system is backwards compatible with ordinary DES as the first and second encryptions cancel each other out, and as a result is not secure.

3DES is still considered secure, but not necessarily efficient when compared to modern algorithms such as AES.

3DES remains in common use today, particularly in the financial industry.

123 questions
4
votes
1 answer

Effective key length of Two-Key Triple-DES

What's the effective key length of Two-Key Triple-DES, for some (possibly several) reasonably well-defined and sensible definitions of effective key length, say assuming attack using ample chosen plaintext? A sensible definition of effective key…
fgrieu
  • 140,762
  • 12
  • 307
  • 587
3
votes
3 answers

Does 3-DES take approximately the same time to encrypt 1B and 1KB?

I am using 3-DES to encrypt some data in Java. I decided to run some tests and plot some graphics to decide how to optimally pack data for its encryption (see how encryption/decryption time behave depending on the length of the plain text), so I…
user2891462
  • 267
  • 2
  • 7
2
votes
1 answer

How fragile is 3DES nowadays?

Mastercard, Visa, and several other organizations use 3DES to encrypt and decrypt credit card data. The sweet32 attack placed 3DES in the spotlight, but how fragile is 3DES for a very small amount of info, like 16 digit string (the card number) + 3…
Leonardo
  • 187
  • 1
  • 8
2
votes
3 answers

3DES security when K1=K3

I am mainly looking for security on 2-key $\operatorname{3DES}$ implementation where $K_1=K_3$. How hard or easy is it to crack $\operatorname{3DES}$ when $K_1=K_3$?
SSA
  • 640
  • 5
  • 11
2
votes
0 answers

Does a 128bit 3DES need billions of years to decrypt using brute force attack?

a) I did some research and there are two opinions.. some say it cracks in several years and others say it doesn't crack for billions of years USING BRUTE FORCE ATTACK...
1
vote
1 answer

Behavior of Iterated 3-DES

When reading ''Algebraic Cryptanalysis'' by Gregory V. Bard, Springer Editions, I got confused by this sentence: Suppose there were three naïve Cryptography students, who choose to use 3-DES iterated roughly one million times, because they are told…
Binou
  • 408
  • 5
  • 14
1
vote
1 answer

Triple DES 1 key to simulate 3 keys

I saw a statement that the probability of finding a key $k'$ to simulate 3 keys $k_1$, $k_2$, $k_3$ is neglectable: $\mathrm{Enc}(k_3,\mathrm{Enc}(k_2,\mathrm{Enc}(k_1,x))) = \mathrm{Enc}(k′,x)$ When not considering MITM attack, the probability of…
pXN
  • 13
  • 3
0
votes
1 answer

Using 3DES decryption to get a specific result

I want to get 3DES to get a predictable result; assume I have: key: [any] data: [any] then I want to apply 3DES decryption on key and data to get a specific result, such as: decrypted 3DES: 12121212121212121212121212121212 Is this possible in…
bcop
  • 3
  • 1
0
votes
1 answer

Decrypt 3DES with a key and a nonce?

I have been tasked with moving an authentication service from our provider to somewhere else. The code base for the current service is not available to me, but I know these things: I have a 65 character plaintext key Something labeled a "nonce"…
Col Wilson
  • 101
  • 1