Question: Password Cracking using CUDA ( 3 0 % - 1 0 0 marks ) Using a similar concept as question 2 , you will now

Password Cracking using CUDA (30%-100 marks)
Using a similar concept as question 2, 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 (25 marks)
Allocating the correct amount of memory on the GPU based on input data. Memory is freed
once used (15 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)(40 marks)
Decrypted password sent back to the CPU and printed (20 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!