Questions tagged [3des]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

Input/Output size of compression functions

I know that DES has 56 independent key bits, and that 3DES has 168 independent key bits by using 3 seperate 56-bit DES keys. 3DES also has a block size of 64 bits. If I use 3DES as the underlying ...
mjg4's user avatar
  • 11
2 votes
0 answers
47 views

Exploit 3DES-CBC with known checksum of plaintext and repeated IV

I came across the following enterprise encryption scheme. I laughed when I first saw it, but I'm not a specialist and I'd like to know how bad it really is. 3DES-CBC k1=k2=k3 for 3DES IV for CBC is ...
j123b567's user avatar
  • 121
1 vote
1 answer
181 views

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 ...
pXN's user avatar
  • 13
4 votes
1 answer
509 views

Security Strength of Symmetric vs Asymmetric Ciphers

NIST SP 800-57 Part 1 rev 5 section 5.6.1.1 gives following comparison between different encryption types. For example, it shows that 3TDEA, RSA-2048, ECC224 provides security strength of 112 bits. ...
crypt's user avatar
  • 2,397
4 votes
1 answer
223 views

Why are credits cards using 3DES instead of AES?

Why are credit cards using 3DES instead of AES? As far I understood, even DES3 is less secure than AES. Why it is still used? I searched already in the internet and forum to check out if it is ...
bilaljo's user avatar
  • 153
-1 votes
1 answer
140 views

What is the importance of superencryption?

Please, can any extensively explain the importance of super encryption in relation to attacks experienced by single standard algorithms
Ubochi Chibueze Nwamouh's user avatar
7 votes
3 answers
5k views

What is DES-EDE3-CBC?

I came across DES-EDE3-CBC and a quick search didn't yield a clear explanation of what it is. Clearly, DES is the Data Encryption Standard and CBC is the Cipher Block Chaining mode. EDE is probably ...
Erwin's user avatar
  • 253
1 vote
1 answer
130 views

Increasing the parallelization of Triple-DES

Triple-DES encrypts with the first key, then the second key, then the third key. Two keys are sitting around waiting. Why not encrypt with all three keys at the same time? You take 192 bits of ...
Jim's user avatar
  • 11
2 votes
0 answers
83 views

What's the probability distribution of 3DES keys' key check values?

Do the key check values of two-key 3DES keys have a uniform distribution? If not I'm curious as to what the distribution is. I ask because I want to know how safe it is to use a key's KCV as an ...
Christopher Simmons's user avatar
-1 votes
1 answer
353 views

How to make DES more secure without switching from des state to another cryptography system and what are limitations of DES?

How to make DES more secure without switching from des state to another cryptography system and what are limitations of DES? Is there any 3 ways to make des more secure?
user avatar
1 vote
1 answer
144 views

Generate unique random values for unqiue input values

I'm going to generate unique random values based per a range of unique input values. In other words I have range of input values which these numbers are part of a series (like a range of serial ...
VSB's user avatar
  • 165
2 votes
1 answer
1k 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 ...
Leonardo's user avatar
  • 187
0 votes
0 answers
65 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 ...
GuyOnInternet's user avatar
3 votes
1 answer
460 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-...
SSA's user avatar
  • 630
1 vote
0 answers
50 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 ...
user2032902's user avatar
2 votes
3 answers
1k 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$?
SSA's user avatar
  • 630
1 vote
1 answer
232 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 ...
Abercrombie Dorfen's user avatar
1 vote
1 answer
1k 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 ...
C-Bk's user avatar
  • 113
1 vote
1 answer
1k 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 ...
onesick1's user avatar
1 vote
1 answer
208 views

Would Triple DES-X with 7 keys be much slower than standard Triple DES?

Since a single hardware pass of an XOR with a 64-bit key is speedy, would Triple DES-X with seven 64-bit keys used in the following manner be virtually identical in terms of code size, memory ...
Abercrombie Dorfen's user avatar
1 vote
2 answers
387 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 ...
mihi's user avatar
  • 113
0 votes
3 answers
208 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?
Sangjin Kim's user avatar
0 votes
1 answer
188 views

2DES and 3DES against a DES build with complimentary

I saw this complicated question and I am not really sure about it, would appreciate your view on it. Is the following build stronger than 2DES or 3DES with 2 different keys (or even normal DES)? $...
alberto123's user avatar
1 vote
1 answer
31 views

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 ...
Binou's user avatar
  • 408
2 votes
0 answers
34 views

Do I need verifiable shares?

I'm using Shamir's secret sharing in a 2:3 system. Thus a secret Key is split in 3 subkeys (KeyS:KeyC:KeyT) I've 3 entities at ...
xryl669's user avatar
  • 121
2 votes
0 answers
197 views

Extracting RC4 and 3DES keys from system memory

I have read papers [1], [2] that have presented techniques on extracting symmetric encryption keys from memory during the process of encryption. There are tools [3] that can extract AES keys from ...
learnerX's user avatar
  • 687
0 votes
1 answer
83 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 ...
lllllllllllll's user avatar
0 votes
1 answer
68 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 ...
bcop's user avatar
  • 3
0 votes
1 answer
128 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 ...
Sean9981's user avatar
7 votes
2 answers
1k 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 ...
Maarten Bodewes's user avatar
  • 91.7k
1 vote
1 answer
2k 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 ...
StatsStudent's user avatar
2 votes
1 answer
1k 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 ...
user69127's user avatar
0 votes
2 answers
774 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 ...
Graviton's user avatar
  • 109
2 votes
1 answer
809 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?
Nime's user avatar
  • 165
0 votes
1 answer
348 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 ...
Col Wilson's user avatar
1 vote
2 answers
403 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: ...
caffein's user avatar
  • 213
5 votes
2 answers
5k views

What is the keyspace of 2-key 3DES?

I am assuming that 2-key 3DES is equivalent to 2DES. I know the key size is 2x56 = 112 bits. Is this key size the same as the keyspace? e.g. Would the keyspace be 112 bits ($2^{112}$)?
countduckula's user avatar
0 votes
1 answer
587 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 ...
Ali Qureshi's user avatar
2 votes
2 answers
266 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 ...
Kyb3r's user avatar
  • 33
1 vote
1 answer
821 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 ...
againzz's user avatar
  • 13
-4 votes
1 answer
826 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?
Joel Goerge's user avatar
17 votes
1 answer
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 ...
franpen's user avatar
  • 273
0 votes
1 answer
632 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?...
Igor Zelaya's user avatar
-1 votes
1 answer
2k views

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

I have the following code in C# ...
Darren's user avatar
  • 111
11 votes
4 answers
37k 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.
Joezer's user avatar
  • 213
0 votes
1 answer
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 ...
Jaciq's user avatar
  • 109
0 votes
1 answer
552 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 ...
Lauren's user avatar
  • 1
-1 votes
1 answer
3k views

How 3DES work in a simple way?

As I understand DES, It encrypt 64-bit plaintext block with 56-bit key (ECB). So if ...
arif's user avatar
  • 137
0 votes
1 answer
670 views

Cryptographic methods that do not use prime numbers?

Does anyone know any cryptographic methods that do not use prime numbers? If so, which ones?
Axioms's user avatar
  • 29
0 votes
1 answer
3k views

Questions about future and session key generation in DUKPT process

As I understand this process is done in the client device for generating a unique key per transaction: inject generated IPEK to client device; generate set of future keys (actually 21 future keys) ...
Mahmoud Hosseinipour's user avatar