# Questions tagged [3des]

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

109 questions
Filter by
Sorted by
Tagged with
147 views

### 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 ...
35 views

### DES calculations [closed]

In DES the effective key length is 56 bits. Assume that we are allowed to modify the key length to 64 bits. How much longer time would a brute force attack require in the 64-bit setting compared with ...
102 views

### Why isn't the maximum security of triple DES 48 * 2 vs 56 * 2?

The security of quadruple or even more encryption isn't much more than that of double encryption. But each round also counts as one encryption. So why isn't triple DES only 96-bits secure?
3k views

### Triple-DES Brute Force

Shannon's paper states: A system is pure if all keys are equally likely and if for any three transformations, $T_i$, $T_j$, $T_k$ in the set, the product $T_iT_j^{-1}T_k$ is also a ...
390 views

### Frequency Analysis on DES, AES, 3DES using Cryptool2

I am trying to analyze symmetric block ciphers like DES, 3DES and AES, using Cryptool 2. I want to do a frequency analysis on each of these ciphers, in order to comment whether this is an effective ...
32 views

### Periodic re-keying during full drive encryption

A man encrypted a hard drive in 1996 using three key 3-DES with a 64 bit IV and CBC mode in the following manner using known 1990s algorithms on a 1996 PC. Here is how he did it. Start with a ...
326 views

### Can we use Bitcoin miner to break 2Key 3DES, if yes how long it takes?

As ASICs are specifically designed to generate the hash for a block of a block chain. which is much faster than other GPUs which are used to break 2key-3DES. can we use Array of ASICs to break 2key-...
37 views

### Help needed for IBM KCV

I found old key letters used in EFT HSMs with TDES keys, parted in two halfs. The check value printed on this letters is called IBM CV and doubled IBM CV. My newer HSM does not support this kind of ...
413 views

### 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$?
83 views

### Disrupting MITM attack against 3DES by intermingling plaintext and inter-mediate ciphertext between rounds

Let's say someone implements 3DES with three separate 56-bit keys and an attacker is attempting to execute a MITM attack. Here is the encryption plan designed to attempt to disrupt the MITM attack, or ...
20k views

### Why do we use encrypt-decrypt-encrypt (EDE) in 3DES, rather than encrypting three times?

I'm wondering why we use encrypt-decrypt-encrypt (EDE) sequence in 3DES (also known as DES-EDE, TDES or TDEA) with three keys instead of three times encryption (EEE) with three different keys?
309 views

### TDES (Triple DES) DUKPT decryption

We have a POS (Ingenico) that uses DES3-CBC encryption using a derived key. It sends encrypted data, and 10 bytes size Key Serial Number (KSN). I tried to use ...
173 views

### Is there a feasible way to reconstruct the key from the (Triple-)DES round key?

Assume there is a closed source application which uses Triple-DES with a fixed/hardcoded key to decrypt large amounts of data. Someone managed to extract the round keys from a process memory dump and ...
150 views

### Why didn't people redesign the key scheduling algorithm of DES to use longer keys instead of using 3-DES?

To overcome short key length of DES, Triple DES was devised. What would go wrong or why didn't people redesign the key scheduling algorithm to use longer keys?
622 views

### Is it possible to perform a meet-in-the-middle within a block cipher?

Standard meet-in-the-middle explanations show that you can perform a meet-in-the-middle attack on a repeated block cipher such as double-DES (performing DES twice in a row). However, block ciphers ...
8k views

### ANSI X9.31 standards for generating random numbers

The NIST-Recommended Random Number Generator Based on ANSI X9.31 Appendix A.2.4 Using the 3-Key Triple DES and AES Algorithms has 3DES being used three times for each 64-bit block of random data ...
124 views

4k views

### Modes of Triple DES - When to use each?

I'm studying for CISSP certification & am using Shon Harris Exam Guide. It states that there are 4 modes that Triple-DES can be used in: DES-EEE3 DES-EDE3 DES-EEE2 DES-EDE2 I understand these ...
570 views

### What are the separate single DES keys from a triple DES key?

Suppose my 192 bit triple DES key (in hex) is 0123456789ABCDEFFEDCBA987654321089ABCDEF01234567 What are the keys for the separate single DES operations? In this ...
78 views

### How DES/AES can guarantee by feeding different secret keys, the encrypted outputs are different?

I am learning the meet-in-the-middle on DES attack. I understood the basic logic behind how it is performed; however, one further question is: why can we guarantee to find one and only one pair of k1 ...
1k views

### No of keys used in Triple DES Algorithm

I am studying Triple DES. I have got two basic questions. One, why are we following a sequence like encrypt(decrypt(encrypt)); what is the problem using a sequence encrypt(encrypt(encrypt))? Second,...
62 views

### 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 ...
31 views

### I'm curious on methods of encrypting files using C++ [closed]

I'm making a personal security tool in C++ and was curious how I would go about encrypting files in C++. If anyone has a method that would be great, and more specifically I was interested in 3DES ...
1k views

### Determine Encryption Used by Examining File Headers?

I have an encryption problem that I hope you might be able to help me with. I have a bunch of encrypted files. Some of them were encrypted with ...
932 views

### Is TripleDES 168bit vulnerable to Differential Cryptanalysis?

I was reading this paper. In the table-1 of the paper it says TripleDES (showing both 128bit and 168bit keysize) is vulnerable to Differential Cryptanalysis. It also says that AES (showing all three ...
476 views

### Is there any encryption algorithm that, with small change in input will produce big change in the encrypted output?

As stated in the title, I'm looking for an encryption algorithm with the characteristics that, when inputs are slightly different, the encrypted output will be VERY much different, to the point that ...
22k views

### What is U2FsdGVkX1?

Using CryptoJS 3.1 I noticed that using 3Des, the encrypted message always start with U2FsdGVkX1 Why is the first part of the encryption always the same? What information does this hold and how ...
365 views

### Would XDES be more secure than 3DES, where X is a number > 3?

Would XDES be more secure than 3DES, where X is a number > 3? Like 10DES... If so why aren't we using it?
208 views

### Decrypt 3DES with a key and a nonce? [closed]

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 ...
316 views

### DES - encrypt 3 times - DES(DES(DES, k), k'), k) - stronger than 2DES with 2 different keys?

What if were to use DES in the following way: For a given plaintext x and key k we will perform: ...
270 views

### 3DES Feasibility and Security [closed]

Questions are as following: Is 3DES still feasible (in terms of security and performance) to use? Is 3DES safe to use in ECB mode? Every time on giving the same input (plain text) to encrypt via 3DES ...
206 views

### Encrypting current time using 3DES as a signature

I came across a peculiar system for generating "signatures" ("signatures" is within quotes because this is a bad use of 3DES) in the wild. It works as follows: a symmetric key is generated and used ...
375 views

### Will two KEK's provide the same KCV or should these be different?

If you were to have an MDKac key that you need to send to two parties you would need to encrypt this key with two different KEK/ZCMKs. Will the KCV of the MDKac under KEK1 provide the same KCV as ...
516 views

### How can two keys have the same KCV?

I have two keys and they have the same KCV. How is this possible? I have encrypted data with both keys and I have the same result. Both keys are the result of the derivation of the same IMK, one was ...
354 views

### Triple Data Encryption Standard [closed]

Based on this, it looks like something slightly wrong. What would need to be adjusted at the transmitter side to allow the receiver to decrypt the message/data?
7k views

### Why would anyone choose 3DES over AES in software?

I'm well aware of what NIST and PCI say about the usage of 3DES and its deprecation/disallowance and I also know that AES is the actual recommended standard for software and hardware encryptions. I'm ...
552 views

### 3DES CFB vs CFB8 modes

What is the main difference between CFB and CFB8 modes in 3DES? Is it only a change in block size from standard 8 byte to 1 byte when doing 3des and XOR? I cant find any pseudocode for this CFB8 mode?...
965 views

### Does C# Triple DES Encryption need 128 bit key or 192 bit key [closed]

I have the following code in C# ...
25k views

### Can I find the encryption key if I know the plain text and the encrypted text (DES and AES)?

If I have the plain text and its output after encryption with a key K1, is it algorithmically feasible to find K1? I am specifically interested in the cases of DES and AES encryption algorithms.
1k views

### Discrepancy between 3DES in OpenSSL and PyDES [closed]

I'm trying to encrypt some data using triple DES ECB, but I get a discrepancy between OpenSSL and the pyDES library I'm using. When trying to get a KCV value, I'm using a file consisting of 8 bytes ...