Using MPI, develop a project to decode a password using brute force, the password length is a variable entered by the user. The password will be randomly generated as a combination of lower and upper case characters, digits, and special characters. Your project will distribute the work between the cores to figure out what was the password using brute force checking. You can divide the work between the cores in two ways; first assign for each core a part from the password, second each core will be responsible to check the entire password within a range of characters, digits, and special characters, such that each core will check a different range. You need to measure and compare the time needed to break the password using parallel computing and serial computing for different password lengths.
Using MPI, develop a project to decode a password using brute force, the password
length is a variable entered by the user. The password will be randomly generated as a combination
of lower and upper case characters, digits, and special characters. Your project will distribute the
work between the cores to figure out what was the password using brute force checking. You can
divide the work between the cores in two ways; first assign for each core a part from the password,
second each core will be responsible to check the entire password within a range of characters,
digits, and special characters, such that each core will check a different range. You need to
measure and compare the time needed to break the password using parallel computing and serial
computing for different password lengths.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images