Explore BrainMass
Share

Explore BrainMass

    Substitution cipher: comparing double and single encryption

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Consider two substitution ciphers. One adds a value of i to the ASCII code of the plaintext character. The other adds a value of j to the plaintext character. All additions are modulo 256.

    Now consider a double-encryption method that adds i to each plaintext character and then adds j to the resulting ciphertext character to get another ciphertext character. Again, all calculations are modulo 256.

    How much more secure is this double encryption when compared with either single-encryption method?

    © BrainMass Inc. brainmass.com October 9, 2019, 8:34 pm ad1c9bdddf
    https://brainmass.com/computer-science/data-encryption/substitution-cipher-comparing-double-and-single-encryption-155184

    Solution Preview

    Resultant double encryption will not be any different than the given single-encryption method. It is same as other two ...

    Solution Summary

    Solution gives a mathematical formulation to justify the answer and also gives a detailed example for better grasp.

    $2.19