Purchase Solution

Substitution cipher: comparing double and single encryption

Not what you're looking for?

Ask Custom Question

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?

Purchase this Solution

Solution Summary

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

Solution Preview

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

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Javscript Basics

Quiz on basics of javascript programming language.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C# variables and classes

This quiz contains questions about C# classes and variables.