Description
Please write a C++ program that implements the MD5 Hash algorithm. Refer to RFC 1321 for details. Use Google to find the RFC online or use the services of Dayton Memorial or your local library.
The program should read a .txt file, that contains one of the strings used in the previous exercise for symmetric key encryption and decryption for input to the hash algorithm. I.e., use the string “THE QUICK BROWN FOX JUST CAME OVER TO SEE THE LAZY POODLE” or “FOUR SCORE AND SEVEN YEARS AGO”. The message should only contain uppercase letters and spaces. Additionally, the program should examine the input characters in the message and encrypt the uppercase letters but not the spaces.
Display the results of the hash in hexadecimal format.
Program must be written in structured C++. Program must compile and run in the Dev-C++ compiler. Program must be modular (i.e. several functions that each do one job well(readFile function, calculation function, display function). Main function should do nothing more than call other functions.