Skip to content

SagarB-97/GPU-Parallel-Image-Steganography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU Parallel Image Steganography

The goal of the project is to conceal audio in image while also trying to maintain the noise in the image to a minimum.

Serial Implementation

Encrypting / Concealing Audio

g++ Serial/Encrypt.cpp -o encrypt
./encrypt Dataset/test.ppm Dataset/test.mp3

The resultant image named serial_output.ppm will be saved in Dataset/

Where,
Dataset/test.ppm is the image in which audio must be concealed
Dataset/test.mp is the audio file to be concealed

Decrypting / Retrieving Audio

g++ Serial/Decrypt.cpp -o decrypt
./decrypt Dataset/output.ppm 25823

The resultant audio named serial_output.mp3 will be saved in Dataset/

Where,
Dataset/output.ppm is the image in which audio is concealed
25823 is the size of the audio in bytes

Parallel Implementation

Encrypting / Concealing Audio

nvcc Parallel/Encrypt.cu -o encrypt
./encrypt Dataset/test.ppm Dataset/test.mp3

The resultant image named parallel_output.ppm will be saved in Dataset/

Where,
Dataset/test.ppm is the image in which audio must be concealed
Dataset/test.mp is the audio file to be concealed

Decrypting / Retrieving Audio

nvcc Parallel/Decrypt.cu -o decrypt
./decrypt Dataset/output.ppm 25823

The resultant audio named parallel_output.mp3 will be saved in Dataset/

Where,
Dataset/output.ppm is the image in which audio is concealed
25823 is the size of the audio in bytes

Tests

Make the test scripts executable

chmod +x test_sameAudio.sh
chmod +x test_sameImage.sh

Add your datasets (images and audio) to the Dataset folder (within the respective audio and images folders)

Then run the scripts

./test_sameAudio.sh
./test_sameImage.sh

The execution times will be written to times_sameAudio.txt and times_sameImage.txt

About

Implementation of parallel version of image Steganography

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published