Order from us for quality, customized work in due time of your choice.
No use of chatgpt or AI.
This Program is expected to:
input a file containing small list of passwords (created by you) passwords.txt
Input a number of threads to create
Each thread is to take one of those passwords and perform a simple, selfmade, keyless symmetrical encryption routine on the password (symmetrical meaning it can be undone by performing the algorithm backwards)
The encryption routine is required to shift the position of all of the characters and change the value of all the characters. It could be as simple as shift every letter forward, move the last letter to the first, and increase all their values by x.
If there are 9 passwords and 4 threads selected, then passwords should be processed in batches of four until the third batch where only one thread would be created
Make sure the threads join() at the end of the loop before running the loop again
When completed, the program shall output each password & encrypted version on a separate line
To compile you will need to add -lpthread to the compile command line.
Submit both the code and a screenshot of the program’s execution.
Order from us for quality, customized work in due time of your choice.