subject

A company that want to send data over the internet has asked you to write a program that will encrypt it so that it may be transmitted more securely. All the data transmitted as four digit intergers. Your application should read a four digit integer enterd by the user and encrypt it as follows:replace each digit with the result of adding 7 to the digit and getting the remainder after diving the new value by 10.Tjen swap the first digit with the third, and swap the second digit with the fourth. Then print the encrpted interger. Write a separate application that inputs an encrypted four digit interger and decrypts it (by reversing the encryption scheme) to form the original number

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
Technician a says that a shop towel should never be used to clean around the flange area before replacing an automatic transmission filter. technician b says that a dimpled transmission fluid pan can be repaired. who is right
Answers: 3
question
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
question
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Which two technologies support the building of single-page applications?
Answers: 2
You know the right answer?
A company that want to send data over the internet has asked you to write a program that will encryp...
Questions
question
English, 18.12.2020 21:10
question
Business, 18.12.2020 21:10
question
Mathematics, 18.12.2020 21:10
question
English, 18.12.2020 21:10
question
Mathematics, 18.12.2020 21:10
Questions on the website: 13722359