hardware implementation of steganography

Status
Not open for further replies.

Vidya Kumar

Newbie level 3
Joined
Dec 5, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Abu Dhabi
Visit site
Activity points
22
Hi,

I am doing my major project on hardware implementation of steganography using vhdl. In this, ill be sending an array as one input and a bit as another input. this one bit has to be replaced in the lsb of the array. How do i access the lsb of the array and substitute it wid tht bit? I need the code for this.Plz help me. thanks

Vidya
 

You would use "bit wise" operators such as NOT, AND, OR, NAND, NOR, and XOR. For example, if each array element was 16 bits, first mask off the LSB using AND with 1111111111111110 and then use OR with 000000000000000x on the result. x is the new LSB value. I assume when you say LSB of the array you mean the LSB of each element of the array. The key is to use bit-wise operations.
 



Let me put it more clear. There are 2 inputs to this:

1. Cover image: will be array form (eg: 10110010 00101110 11010001 10110101)
2. Hidden text to be embedded in the cover image (eg: 0100)

Each binary bit of the text message should be substituted into the LSB of each of the 8-bits(cover image) given.

In this example, the output should be
10110010
00101111
11010000
10110100

How do I implement this in VHDL? Just for 1 bit, whatever you had suggested is perfect. I hope I have made it more clearer this time.
Thanks for your time and efforts.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…