Question: Assignment Write a program that take input of 5 digit number, then apply the following cryptography technique to encrypt it first, after that it show

Assignment

Write a program that take input of 5 digit number, then apply the following cryptography technique to encrypt it first, after that it show the coded message then it apply the decrypt and show the original message.

cryptography technique are following.

1. Add some random integer in each digit from the interval (5-20)

2. Take its modulus with appropriate integer from the range ( 11-20)

3. Apply swapping four times

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!