Question

Assume some encryption scheme always encrypts the same plaintext into the exact same cipher text when...

Assume some encryption scheme always encrypts the same plaintext into the exact same cipher text when using the same key.

1. How does this leak information?

2. What could you do to solve this?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Using such kind of encryption scheme may seem easy to use because it will always be faster and not that complex. However, there is a trade-off, if we are considering the same ciphertext and the same key it is mapping to the same ciphertext, in this case, attacker can guess your mapping for example if key is something lets say x and plaintext is "IAMGOD" and suppose you have got ciphertext as "JBNHPE" (which is nothing but adding 1 to their ASCII values), then the attacker can guess your mapping and can hit and try different words like if I write "IAMDOG" and if I put the same key x then it would be mapped to the "JBNEPH" and by this I can clearly get the values of 3rd and 5th character of the string and by this one can guess the more characters as well and hence your information would be leaked.

2. Solution: We may try different keys for the same plaintexts (we can also use mod values) and the mapping to the keys should be one-to-many and the mapping through the key to ciphertext can vary in accordance to need and requirement.

Add a comment
Know the answer?
Add Answer to:
Assume some encryption scheme always encrypts the same plaintext into the exact same cipher text when...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The given plaintext is “Feistel cipher structure uses the same algorithm for both encryption and decryption”....

    The given plaintext is “Feistel cipher structure uses the same algorithm for both encryption and decryption”. Write Java code to implement Shift cipher (Encryption and Decryption) and test your code on given plaintext. Your code must meet following conditions. 1. User must enter the value of key from command prompt and print it at command prompt. 2. Print the cipher text and the plaintext at the command prompt after encryption and decryption. 3. Test your algorithm for 5 different key...

  • Can i get Playfair Cipher for python 3 that encrypts a message and decrypts it, could...

    Can i get Playfair Cipher for python 3 that encrypts a message and decrypts it, could you possibly make it as simple as you can without losing functionality. please include comments, that would help me better understand Example of PlayFair Cipher: https://en.wikipedia.org/wiki/Playfair_cipher The Playfair cipher uses a 5 by 5 table containing a key word or phrase. Memorization of the keyword and 4 simple rules was all that was required to create the 5 by 5 table and use the...

  • Substitution Cipher Ke 1. Decipher the following ciphertext using the substitution cipher key shown above: (4 points) Ciphertext: DOVMYWOJAYJMYWZBAOXOADY!U I Plaintext: The following information was...

    Substitution Cipher Ke 1. Decipher the following ciphertext using the substitution cipher key shown above: (4 points) Ciphertext: DOVMYWOJAYJMYWZBAOXOADY!U I Plaintext: The following information was extracted from The BLACK Chamber's Pigpen Cipher page. The content is available at https:/simonsingh net The_Black Chamber'pigpen html. "The Pigpen Cipher was used by Freemasons in the l8th Century to keep their records private. The cipher does not substitute one letter for another; rather it substitutes each letter for a symbol The aiphabet is written...

  • Write a Python program that takes the following phrases and encrypts them using a substitution cipher....

    Write a Python program that takes the following phrases and encrypts them using a substitution cipher. It should ask for a key and a phrase and then proceed to encrypt that phrase using the given shared key. Make sure that you have the key for the cipher that you use and the output of encrypted phrases. 1. He who fights with monsters should look to it that he himself does not become a monster . And if you gaze long...

  • One failing of an encryption system occurs if a letter (or number) always encodes to the...

    One failing of an encryption system occurs if a letter (or number) always encodes to the same value. Let’s see how we can exploit this weakness. Let’s assume that we know that the word GOOD is in this intercepted message: XLI3KSSH3HSGXIVD. What are the encrypted values (i.e., give the mappings) of the letters G, O, D (i.e., G -> ?, O -> ?, and D -> ?) and what is the encryption algorithm? To test your detective skills, what is...

  • C Program In this assignment you'll write a program that encrypts the alphabetic letters in a...

    C Program In this assignment you'll write a program that encrypts the alphabetic letters in a file using the Vigenère cipher. Your program will take two command line parameters containing the names of the file storing the encryption key and the file to be encrypted. The program must generate output to the console (terminal) screen as specified below. Command Line Parameters Your program must compile and run from the command line. The program executable must be named “vigenere” (all lower...

  • LANGUAGE: PYTHON Write a function called: d_polybius(). The function applies the decryption scheme for the polybius...

    LANGUAGE: PYTHON Write a function called: d_polybius(). The function applies the decryption scheme for the polybius cipher scheme above. The start of the function call the get_polybius_square function to get the square as a string. The second scenario when the number of characters is not even, excluding ‘\n’. For instance: “71\n5” is an invalid cipher because there is no way that the last number correspond to a character (we need two numbers). A customized version of Polybius square will be...

  • One failing of an encryption system occurs if a letter (or number) always encodes to the...

    One failing of an encryption system occurs if a letter (or number) always encodes to the same value. Let’s see how we can exploit these weaknesses. Let’s assume that we know that the word SECRET is in an intercepted message. What are the encrypted values (i.e., give the mappings) of the letters S, E, R, C,T(i.e.,S->?,E->C,R->?, C->?,andT->?)for the following encrypted message: MHIL75K7MTF7LL397V To test your detective skills, what is the exact original message? (It’s a simple cipher where a letter...

  • Decrypting the APCO cipher without the key. Decryption without the key is obviously a much more...

    Decrypting the APCO cipher without the key. Decryption without the key is obviously a much more difficult process. Indeed, the purpose of encryption is to make it as difficult as possible for anyone who does not know the key to read the plain text. We will be using an unsophisticated password cracking technique called a brute force attack. A brute force attack on the APCO cipher works by trying every possible four digit key (from 0000 to 9999) and keeping...

  • Write a program that implements an elementary bit stream cipher. An elementary level bit stream cipher...

    Write a program that implements an elementary bit stream cipher. An elementary level bit stream cipher is an encryption algorithm that encrypts 1 byte of plain text at a time. This one uses a given 4-bit bit pattern as the key. The size of the encrypted message that we want to be able to send has a maximum length of 200 characters. You must: 1. prompt the user to input the clear text to be encrypted. You must use printf()...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT