No use of chatgpt or AI. This Program is expected to: input a file containing sm

Programming

comment No Comments

By admin

Important - Read this before proceeding

These instructions reflect a task our writers previously completed for another student. Should you require assistance with the same assignment, please submit your homework details to our writers’ platform. This will ensure you receive an original paper, you can submit as your own. For further guidance, visit our ‘How It Works’ page.

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.

get this assignment from a professional tutor. 100% original paper.

learn how

Leave a Comment