Can someone please help me understand how to create this program using the hash method Task: Implement a hash table ADT
Posted: Thu Jul 14, 2022 2:11 pm
Can someone please help me understand how to create this programusing the hash method
Task: Implement a hash table ADT and othersupporting userinterfaces; develop a simple password server program.
Description:This program contains two parts. In the first part of theprogram, you need to implementa hash table class template named HashTable. In the second part ofthe program, youwill develop a simple password server program using the hash tableyou developed.
Task 1: Requirements of the HastTable Class Template
You must implement at minimum all the interfacesspecified below for theHashTable class template.
Private Helper Functions:
Make sure to declare as const member functions any for whichthis is appropriateYou need to write a simple test program to test variousfunctions of hash table. Moredetails are provided in a later part of thisdescription.
Task 2: Requirements of the Password Server Class(PassSever)
Public Interface:
Private Helper Functions:
BYTE charin[MAXSIZE]; BYTE charout[MAXSIZE];
cout<<"Read in anotherstring: " <<endl; cin >> charin; base64_encode(charin,charout,strlen(charin),1); cout<<endl<<charout<<endl; base64_decode(charout,charin,strlen(charout)); cout<<endl<<charin<<endl;
Driver Program:
In addition to developing the HashTable classtemplate and the PassServer class, you need to write a driverprogram to test your code. Name the driverprogram proj6.cpp.
Provided Partial code: The following partial codehas been provided for you.
Deliverables:
Your implementation must be entirely contained in the followingfiles, whichMUST be named in the same way.
Task: Implement a hash table ADT and othersupporting userinterfaces; develop a simple password server program.
Description:This program contains two parts. In the first part of theprogram, you need to implementa hash table class template named HashTable. In the second part ofthe program, youwill develop a simple password server program using the hash tableyou developed.
Task 1: Requirements of the HastTable Class Template
You must implement at minimum all the interfacesspecified below for theHashTable class template.
Private Helper Functions:
Make sure to declare as const member functions any for whichthis is appropriateYou need to write a simple test program to test variousfunctions of hash table. Moredetails are provided in a later part of thisdescription.
Task 2: Requirements of the Password Server Class(PassSever)
Public Interface:
Private Helper Functions:
BYTE charin[MAXSIZE]; BYTE charout[MAXSIZE];
cout<<"Read in anotherstring: " <<endl; cin >> charin; base64_encode(charin,charout,strlen(charin),1); cout<<endl<<charout<<endl; base64_decode(charout,charin,strlen(charout)); cout<<endl<<charin<<endl;
Driver Program:
In addition to developing the HashTable classtemplate and the PassServer class, you need to write a driverprogram to test your code. Name the driverprogram proj6.cpp.
Provided Partial code: The following partial codehas been provided for you.
Deliverables:
Your implementation must be entirely contained in the followingfiles, whichMUST be named in the same way.