Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment In this assignment, we will write code that hides secret messages (strings) in binary files. This is a technique known as steganography, which means

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Assignment In this assignment, we will write code that hides secret messages (strings) in binary files. This is a technique known as "steganography," which means hiding messages in "plain sight." Anyone eavesdropping thinks you are just sharing an audio file, but there is actually a secret message hidden inside We will use several classes that have not been discussed in class: File, RandomAccessFile, and Files. It is good to practice learning about new classes. To learn about these three classes you should consult the Java 8 API documentation. Sections 10.3 and 10.5 of your textbook also contain information that may be useful. We will be hiding our message in a.wav audio. This picture shows how it works First Next Header, 44-Length of 46 bytes message (intmessage Position of next character ofcharacter (long) Position of next character ofcharacter (long) message The "..."s in the picture indicate big chunks of data that we will not change A.wav file begins with a header (usually 44 or 46 bytes). The header contains information about the data and includes things like the number of audio channels and how to interpret the data in the file. We will put information about our message into the file after the header. By hiding our message after the header, we will still be able to play the file; the only hint that our message is hidden there is that there will be some clicking noises added. Our message will be small compared to the size of the data so our secret will go (mostly) unnoticed. To make sure we do not corrupt the header, we will skip the first 50 bytes. Assignment In this assignment, we will write code that hides secret messages (strings) in binary files. This is a technique known as "steganography," which means hiding messages in "plain sight." Anyone eavesdropping thinks you are just sharing an audio file, but there is actually a secret message hidden inside We will use several classes that have not been discussed in class: File, RandomAccessFile, and Files. It is good to practice learning about new classes. To learn about these three classes you should consult the Java 8 API documentation. Sections 10.3 and 10.5 of your textbook also contain information that may be useful. We will be hiding our message in a.wav audio. This picture shows how it works First Next Header, 44-Length of 46 bytes message (intmessage Position of next character ofcharacter (long) Position of next character ofcharacter (long) message The "..."s in the picture indicate big chunks of data that we will not change A.wav file begins with a header (usually 44 or 46 bytes). The header contains information about the data and includes things like the number of audio channels and how to interpret the data in the file. We will put information about our message into the file after the header. By hiding our message after the header, we will still be able to play the file; the only hint that our message is hidden there is that there will be some clicking noises added. Our message will be small compared to the size of the data so our secret will go (mostly) unnoticed. To make sure we do not corrupt the header, we will skip the first 50 bytes

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

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions

Question

2. What potential barriers would you encourage Samuel to avoid?

Answered: 1 week ago