Computers and Technology

File encryption is the science of writing the contents of a file in a secret code. your encryption program should work like a filter, reading the contents of one file, modifying the data into a code, and then writing the coded contents out to a second file. the second file will be a version of the first file, but written in a secret code. although there are complex encryption techniques, you should come up with a simple one of your own. for example, you could read the first file one character at a time, and add 10 to the character code of each character before it is written to the second file. i would like you to modify the program slightly. you should ask the user what the number is that is going to be used for the encryption. therefore the program will prompt the user for a number and apply it to the data in the file to create the encrypted file. part 2file decryption filterwrite a program that decrypts the file produced by the program in programming challenge 7. the decryption program should read the contents of the coded file, restore the data to its original state, and write it to another file.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:30, keke6361
When using a public computer or network, you should always
Answers: 2
image
Computers and Technology, 23.06.2019 03:10, nxusasmangaliso8780
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
image
Computers and Technology, 23.06.2019 18:00, sophx
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
image
Computers and Technology, 23.06.2019 22:20, andrew412603
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
Do you know the correct answer?
File encryption is the science of writing the contents of a file in a secret code. your encryption p...

Questions in other subjects:

Konu
Mathematics, 13.07.2019 12:00
Konu
English, 13.07.2019 12:00