Answered step by step
Verified Expert Solution
Link Copied!

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 (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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions