Question

In: Computer Science

Cryptography*** For DES, what is the probability that two different keys will encrypt atleast 1 plaintext...

Cryptography***

For DES, what is the probability that two different keys will encrypt atleast 1 plaintext message to the same ciphertext output?

Solutions

Expert Solution

Given you know about the double encryption you would look for two keys, which actually means more than just a factor of two. Needing to know the two correct key values means the same as needing to know one double length key value. In some algorithms, like the one pad cipher, this means an effectively same length key anyway, but usually not. In general there may be some combinations of two n-bit keys that have the same effect as one single key, but more often than not no N-bit key on a single pass will do the same as a combination of two keys.

The bit strength nevertheless is better doubled by using an algorithm with the wider key length, which often is available, ie AES with different key lengths. It much better ensures there is no such collision of keys having the same effect.I’d not bother thinking about adding security by any additional procedures ourside of an ecryption algorithm as that and any other ideas to harden an encryption algorithm already is done by the cryptography experts. No matter also, if you make your additional steps a secret. Any closed source cryptography or secret is bound to be less safe as less experts can test it against a weaknesses. And then overall, you could have any weakness outside of the theoretical idea in CPU architectural bugs being exploited, security bugs of the OS cryptographic base system, etc. even just having the intermediate message makes it less hard than all the intermediate blocks in memory during a single algorithm usage, so passing this intermediate message between the two stages would need a safe tunnel, ideally. Then it’s easier to use one algorithm.


Related Solutions

These questions are about math cryptography 1) Encrypt the plaintext "this is a secret message" using...
These questions are about math cryptography 1) Encrypt the plaintext "this is a secret message" using the affine function f(x) = 5x + 7 mod 26. 2) Determine the number of divisors of 2n, where n is a positive integer.
Cryptography*** Let’s assume you do DES double encryption by encrypting a plaintext twice with K1 and...
Cryptography*** Let’s assume you do DES double encryption by encrypting a plaintext twice with K1 and K2 respectively. Is this method more secure than the regular single DES encryption? Please explain your reason.
What are semi-weak keys for DES? Assume that the first permutation output of an original key...
What are semi-weak keys for DES? Assume that the first permutation output of an original key to DES is semi-weak. Describe a possible attack against DES encryption? Does this attack significantly reduce the security of DES? Please justify your answer.
If a person randomly picks two different months, what is the probability that the correlation between...
If a person randomly picks two different months, what is the probability that the correlation between the two months is negative?
The prosecutor's fallacy is misunderstanding or confusion of two different conditional probabilities: (1) the probability that...
The prosecutor's fallacy is misunderstanding or confusion of two different conditional probabilities: (1) the probability that a defendant is innocent, given that forensic evidence shows a match; (2) the probability that forensics shows a match, given that a person is innocent. The prosecutor's fallacy has led to wrong convictions and imprisonment of some innocent people. Lucia de Berk is a nurse who was convicted of murder and sentenced to prison in the Netherlands. Hospital administrators observed suspicious deaths that occurred...
provide two keys different between the taxation system in developing and developed countries. provide a rationale...
provide two keys different between the taxation system in developing and developed countries. provide a rationale for each different.
13. Two different colored dice are rolled simultaneously. What is the probability of getting a sum...
13. Two different colored dice are rolled simultaneously. What is the probability of getting a sum of 2? 21. What is the probability that if 15 letters are typed, no letters are repeated? Round your answer to 6 decimal places as needed. 22. There are 10 female board members and 20 male board members. How many ways are there to make a committee of 19 board members? How many ways are there to make a committee of 19 board members...
What steps are today’s organisations taking to promote diversity and are these efforts effective?Atleast with two...
What steps are today’s organisations taking to promote diversity and are these efforts effective?Atleast with two peer reviewed articles?
Please answer the following two questions. What are the keys steps that should be undertaken when...
Please answer the following two questions. What are the keys steps that should be undertaken when procuring a subcontractor? Who are the parties that might be involved?
1). If a couple has two children, what is the probability that they are both girls...
1). If a couple has two children, what is the probability that they are both girls assuming that the older one is a girl? 2). Suppose that we have two dice, the first one being a regular die, and the second weighted so that half the time it rolls a 1, and half the time it rolls a 2 (it never rolls anything else). If we choose one of these dice at random, and roll a 1, what’s the probability...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT