The National Security Agency (NSA) is in need of a program that will store a message, encrypt the message using a hash function and decrypt the message. They need something simple that works as soon as possible as the agent sending the message via Bluetooth technology will only be near the infiltrated agent for a couple of seconds.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question

The National Security Agency (NSA) is in need of a program that will store a message, encrypt the message using a hash function and decrypt the message. They need something simple that works as soon as possible as the agent sending the message via Bluetooth technology will only be near the infiltrated agent for a couple of seconds.

Your mission if you accept it will be to create a C++ program that stores the message in an array, encrypts the message, and decrypt the message. Please see the output example below 

**:
:**:
****
* This program will encrypt a message stored in an array by using a hash function
*
***
The original message is: Resistance is futile
The encrypted message is: Uhvlvwdqfh#lv#ixwloh
The decrypted message is: Resistance is futile
Transcribed Image Text:**: :**: **** * This program will encrypt a message stored in an array by using a hash function * *** The original message is: Resistance is futile The encrypted message is: Uhvlvwdqfh#lv#ixwloh The decrypted message is: Resistance is futile
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Encryption and decryption
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,