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, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Implement a document scanning function wordcountengine, which receives a string document and returns a list of all unique words in it and their number of occurrences, sorted by the number of occurrences in a descending order. if two or more words have the same count, they should be sorted according to their order in the original sentence. assume that all letters are in english alphabet. you function should be case-insensitive, so for instance, the words “perfect” and “perfect” should be considered the same word.
Answers: 1
question
Computers and Technology, 25.06.2019 15:30
What does a file extension tell you? a. what the file is about b. where the file is located c. what type of file it is d. who created the file
Answers: 1
question
Computers and Technology, 25.06.2019 16:00
What are the two parts of an event? a. the object and the property b. the icon and the tooltip c. the frame and the coordinate d. the condition and the action
Answers: 1
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
History, 13.03.2021 06:30
Questions on the website: 13722362