Question: Private Helper Functions: string encrypt ( const string & str ) : encrypt the parameter str and return the encrypted string. For this project, we

Private Helper Functions:
string encrypt(const string & str): encrypt the parameter str and return the encrypted string.
For this project, we will use a modified encryption and and un-encryption algorithm that was modified to be used in this course. The code for this base64.h and base64.cpp.
encode you pass a string and it returns the encoded string.
decode you pasa s string that represents the encoded string and it returns it decoded.
Driver Program:
In addition to developing the HashTable class template and the PassServer class, you need to write a driver program to test your code. Name the driver program proj6.cpp.
A partial implementation of proj6.cpp is provided to you, which contains a Menu() function. You must use this function as the standard option menu for user to type input. You may not alter the Menu function.
The driver program must re-prompt the user for the next choice from the menu and exit the program only when the user selection the exit "x" option.
Run the provided executable proj6.x on linprog to see the expected behavior of each of the menu options, and the expected order of inputs. Make sure to test with error cases too, so that you see the appropriate error messages that are printed.
Provided Partial code: The following partial code has been provided for you.
hashtable.h: partial implementation
hashtable.hpp: partial implementation
proj6.cpp: driver program, partial implementation.
test1: sample test case (which contains the commands that a user will type). You can redirect it to proj6.x as "proj6.x < test1". Results will save in the file "outtest1"
base64.h Definition file for the encryption algorithm. Do not modify these files.
base64.cpp Implementation file for the encryption algorithm. Do not modify these files.
Deliverables:
Your implementation must be entirely contained in the following files, which MUST be named in the same way.
hashtable.h
hashtable.hpp
passserver.h
passserver.cpp
proj6.cpp
makefile

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!