Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Password Cracking using CUDA ( 3 0 % - 1 0 0 marks ) Using a similar concept as question 2 , you will now
Password Cracking using CUDA marks
Using a similar concept as question you will now crack passwords using CUDA. As a kernel
function cannot use the crypt library, you will be given an encryption function instead which will
generate a password for you. Your program will take in an encrypted password and decrypt it
using many threads on the GPU. CUDA allows multidimensional thread configurations so your
kernel function which runs on the GPU will need to be modified according to how you call your
function.
Generate encrypted password in the kernel function using CudaCrypt function to be
compared to original encrypted password marks
Allocating the correct amount of memory on the GPU based on input data. Memory is freed
once used marks
Program works with multiple blocks and threads the number of blocks and threads will
depend on your kernel function. You will not be penalised if your program only works with a
set number of blocks and threads however, your program must use more than one block axis
is up to you and more than one thread axis is up to you marks
Decrypted password sent back to the CPU and printed marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started