Steganography

Hello,
I m new to java....I want to develop a project on steganography in java..
Our project will be on hiding textual data in bmp files...Please can anybody suggest me suitable compression and encryption techniques..
with appropiate API's to work on images..compression n encryption..
Thanks.
RichaSharma

As far as I know, the BMP format only supports RLE compression, which is supported by the Java libraries already.
As for encryption... do you want to encrypt the image itself? I would suggest that doing so defeats the whole point of steganography, since it tips off an attacker that something worth having might be hidden inside. Otherwise, the Java libraries also do encryption, if you would care to look over the API. If that's not enough, Bouncy Castle is pretty good, or Google will find more.

Similar Messages

  • I need help on these issue (watermarking and steganography)

    Hi guys, my lecturer did assign me a an assignment. She asked to insert the information about the production's company,expired date, and the approval message into a logo (to avoid fraud lisence). She's giving me option whether to use steganography or watermarking. From my reading (i'm such newbie in this field) one of the best way in stegano and watermarking is patchwork algorithm. So I did search on patchwork algorithm.
    The thing that make me so confuse is when I did the searching in google for that patchwork algorithm, the result will be in patchwork algorithm in waterwarking. There's no such details for patchwork algorithm in stegano. There's some in stegano but those just touch on the theory only. So do u guys know resource that I could refer about patchwork algorithm in stegano? I mean very detail experiments or journal or even sourcecode..
    Well, it's fine enough if I have to do it in watermarking. But there's is one issue. When I'm hiding the info, can I extract the info by using a system only (like stegano) without using any hardware device? If it so, is there any sample source code for it? Please help me...Thanks in advance guys!

    What is the connection to LabVIEW?
    LabVIEW Champion . Do more with less code and in less time .

  • I want to get the web cam and hide the data using steganography method ?

    i want to do steganography on web cam data, untill now i am able to do the video transmitting using jmf and now i am trying to get the actual video frame data and try to edit that and hide my secrete message. can anyone have any idea how to do this ?? i am a newbie in JMF please help me to get out of this stuff...!!!
    thank you

    http://web.archive.org/web/20080216001605/java.sun.com/products/java-media/jmf/2.1.1/solutions/RotationEffect.html
    For my senior capstone project, we had to hide binary data in a BMP image by encoding the bits into the LSB of the components of the pixel colors. You could do a similar thing with video data.
    The above sample code demonstrates the concept of a custom Effect class... something that modifies a data stream. You can extend it to create two Effect classes, one of which that would write secret data, and one of which that would read the secret data.
    Implementation details of how to get it working are up to you, but you can use the BufferToImage and ImageToBuffer classes to decode and encode the images into buffers.

  • Steganography....algorithm

    Hi!
    I have to do a project about steganography.
    I've searched on Google, but I didn't found too much.I'm looking for steganography algorithms, not necessary implemented in a language.
    If you know some interesting links about this subject, please tell me...
    Thanks!

    Yes, sorry... :P
    I've already visited the following links:
    http://www.dreamincode.net/forums/showtopic27950.htm
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=5157446
    First of all, I've read something about the importance,use, history from ibm.com site, but I don't remember exactly the link...
    I've heard too about a f5 algorithm:
    http://www.ws.binghamton.edu/fridrich/Research/f5.pdf
    I've searched sites about the algorithm, not about how to break it.
    Hope I've wrote all the links...
    Edited by: elena_mishu on 07.07.2008 08:38
    wikipedia was the first site I've visited....

  • Steganography in 3D Object (Image)

    Hi,
    Am doing a project related to steganography in 3D. I didnt find any source in net. Kindly any body tell me how to implement this in Java. am aware of steganography in image but, i dont have any idea to implement in 3D Objects.. Pls tell me any example program...
    Thanks in Advance
    Regards
    Mekala

    it looks like the extrusion is shallow and the spotlights may be directed downwards from above
    (in which case the shadows may be down, beyond the edge of the canvas)
    which 3D plug in did you use? Strata's?
    I don't know much about 3D
    just guessing
    [and trying to get bucaca nervous in and about his own ignorance]

  • Steganography Application

    Hi all,
    im developing a steganography application in java as part of my final year project for college. when its done im going to need some people to test it and evaluate it honestly for me.
    if anyones interested would they please post a reply and ill get them a developmental version soon.
    Thanks guys+gals
    Garreth-Dublin,Ireland

    Hi,
    Steganography is the art of hidden writing, or hidden messages in modern terms.
    The application i am developing uses the redundancy in image file formats to hide messages, maybe strings, other files or anyother digital media.
    I know that steganography is not in your typical dictionary but then java developers are not your typical people either.
    Thanks for your interest jboozer

  • Steganography - Rasters

    Hi all,
    Im building a steganography application which decodes a jpeg as a raster using JpegImageDecoder, then splits it up into 8*8 blocks, passes each block through the Discrete Cosine Transform, embeds a secret message in the lsb of the dc coefficient and inverses the process, ultimately saving back as a raster and encoding as a jpeg.
    Problem - when saving back as a raster all my double values are rounded and this loss in precision means that i cannot extract my embedded message!
    Can anyone think of a solution to saving double values (ie. for Red Green Blue) into a raster or bufferedImage?
    Cheers
    Cathal

    Multiple cross post - http://forum.java.sun.com/thread.jspa?threadID=616328&messageID=3431197#3431197

  • Steganography in java

    Hi,
    Am writing steganogryphy in java. i wrote the code forhiding the text in an image (Encrypt).
    After encrypting image pixcel values are stored in 3 dimentional int array , that is " imageInt[][][]"
    Now i dont know how to recover or convert int[][][] to Image ? This is becouse i have to display the image after
    hhiding the text in its rgb pixcel ..
    Plz replay me with some java codes......
    Thank u in advance

    karuvaje wrote:
    Hi,
    Am writing steganogryphy in java. i wrote the code forhiding the text in an image (Encrypt).Hiding text in an image is not 'encryption'.
    After encrypting image pixcel values are stored in 3 dimentional int array , that is " imageInt[][][]"Ok.
    Now i dont know how to recover or convert int[][][] to Image ? Steganography does not normally create an image! It normally modifies an image so that the modifications have little effect on the rendering of the image. In it's simplest form, it modifies the least significant bit of the RGB values.
    This is becouse i have to display the image after
    hhiding the text in its rgb pixcel ..OK.
    Plz replay me with some java codes......That is not how these forums work. The forums are not a homework programming service.
    >
    Thank u in advanceYou are welcome.

  • Steganography (extracting)

    Hello everyone. I am having some trouble trying to extract a message from an image(tif) and I was wondering if anyone could have some tips or pointers that will help point me in the right direction. So if you could please help me I would really appreciate it. Thank You!

    Here is the exact worksheet that I received from my professor.
    Steganography refers to the process of hiding information within an obvious form of communication. Digital steganography involves the hiding of data, say a message, inside an image file or an audio file.
    You will find two files, parrots.tif and frank.tif, at the ftp site for CS II and in my public directory, slonnegr/public/cs2. The first file is a normal tiff file showing a couple of parrots. In second file, frank.tif, I have hidden a text message containing several hundred characters followed by the character '#' at its end. In hiding the message, I skipped the first 80 bytes of the tiff file, placing the bits of the message in successive bytes of the tiff file starting at the 81st byte.
    Here is an example of how digital steganography works. Suppose we have a message with four characters (32 bits).
    Message = "Iowa"
    Hex = 49 6f 77 61
    Binary = 0100 1001 0110 1111 0111 0111 0110 0001
    = 010 010 010 110 111 101 110 111 011 000 01
    Below you will see eleven pixels from inside the file parrots.tif. Each pixel consists of three bytes for Red, Green, and Blue, in that order. The 32 bits of the message are stored in the right-most (least significant) bit of the first 32 bytes of the eleven pixels. The bytes of the altered file are shown on the right. Those bytes that are actually changed by the coding are given with a bold hex digit.
    Original File Altered File
    Pixel Red Green Blue Red Green Blue
    1 56 3e 39 56 3f 38
    2 52 52 39 52 53 38
    3 52 52 39 52 53 38
    4 56 3e 39 57 3f 38
    5 52 52 39 53 53 39
    6 52 52 39 53 52 39
    7 52 52 39 53 53 38
    8 56 3e 39 57 3f 39
    9 52 52 39 52 53 39
    10 52 52 39 52 52 38
    11 56 3e 39 56 3f 39
    Your mission is to download the file frank.tif and extract the message.
    Turn in listings of your program and the execution of the program. Also submit the program, which will be graded on the correctness and clarity of your code.

  • Steganography implemented in Java with QIM Dither Modulation

    Hello wondering if anybody can advise me on how to get started with this ?
    I am starting a project where using Steganography as digital watermarking tool to insert text into an image.
    I am using the quantization index modulation method with the colt maths package to implement the equations required. Any help would be much appreciated.
    Thanks

    G'day
    I'm the author of the aforementioned steganography tool, the Digital Invisible Ink Toolkit. None of the techniques in the tool use QIM Dither Modulation, but they filter the image using edge detecting filters and use those filtered areas first - making it much much harder to tell where it is hidden.
    If you're planning on writing an algorithm for steganography, and are happy to use the StegoAlgorithm interface in the tool, I'd love to include it with the program. My contact details are on the website, http://diit.sourceforge.net

  • Steganography implemented in Java with QIM Dither

    Hello wondering if anybody can advise me on how to get started with this ?
    I am starting a project where using Steganography as digital watermarking tool to insert text into an image.
    I am using the quantization index modulation method with the colt maths package to implement the equations required. Any help would be much appreciated.
    Thanks
    Tom

    Hello wondering if anybody can advise me on how to
    get started with this ?
    I am starting a project where using Steganography as
    digital watermarking tool to insert text into an
    image.
    I am using the quantization index modulation method
    with the colt maths package to implement the
    equations required. Any help would be much
    appreciated.
    Thanks
    TomAlthough not quite understanding what you ask, does it really have to do with 3D? Isn't that rather closer to 2D imaging, or "algorithms" for the calc... part? -> You might get bether (more?) answer there?

  • Steganography project

    hai,
    i am new to java. i have planned for this project. so pls give some introduction of steganography and ideas

    I think this is a good place to start
    http://en.wikipedia.org/wiki/Steganography
    kari-matti

  • Digital Steganography: How to Build a VI for Academic Purposes

    Hi,
    I teach at a High School, and as part of the course the kids are interested in encryption. We discussed digital steganography and I wanted to be able to do a labview lesson where we discuss and write a VI. What I would like to do is have two VI's. One that writes data into a picture and in the process can change change color hues (if needed) and a second VI that compares two pictures to pull the differences out to reveal the hidden information. For my purposes it doesn't matter if the hidden information is binary or ASCII.
    Our school has two versions of LabView. We have the education edition and we have the version used with the infinity project. (Both should have full functionality.) If there is any difference in the directions, education edition directions are preferred.
    Sorry, but I have no idea how to begin this or what to do. I'm still new to and learning LabView as we go. I searched steganography and the other topics were not helpful. I would really appreciate any and all help.
    Thanks.

    While this is hardly military grade encryption I think you could illustrate your point with code like this.
    Encode stage:
    Decode stage:
    This approach relies on the image being big enough to hold all the text.  You could be more efficient if you use every color value (I only used blue to keep the diagram looking clean).  The code isn't terribly robust (no error checking, doesn't check to see if there is space to encode the full message, etc) and I haven't tested it short of confirming that I could get a simple message back but it should help you on your way.
    Good luck -- sounds like a fun class.  I wish I got to do stuff like this when I was in high school.
    ~Simon

  • Extracting data from an image (Java Steganography)

    Hey all!
    I am writing an application in Java that hides bytes in an images pixel's Least Significant Bits.
    Here is the embeding function (mind you, its at an early stage). As far as I can tell, it works perfectly...
         public BufferedImage LSB_BufferedImageEmbed(BufferedImage image, byte[] data)
              int imgWidth = image.getWidth(null);
              int imgHeight = image.getHeight(null);
              //preformat the data array and return as an array of ints?
              int[] formated_data = FormatDataArray(data);
              int index = 0;
              try
                   for(int i = 0; i < imgHeight; i++)
                        for(int j = 0; j < imgWidth; j++)
                             if(index == formated_data.length)
                                  break;
                             System.out.print("Pixel prior Embed: " + image.getRGB(j, i) + "\n");
                             int current_pixel = image.getRGB(j, i);
                             int current_data = formated_data[index++];
                             //Perform bitwise AND on current pixel value - isolating the Least Significant bits.
                             //NB: Mask is = ff fc fc fc [Alpha Byte] [Red] [Green] [Blue]
                             //1111 1111 - 1111 1100 - 1111 1100 - 1111 1100
                             current_pixel &= 0xfffcfcfc;
                             //x << y is "shift x right by y spaces"
                             //Add bits 5,4 of current data to the bottom of the red channel - xx -- xx xx
                             current_pixel = current_pixel + ((current_data & 0x30) << 12);
                             //Add bits 3,2 of current data to the bottom of the green channel - xx xx -- xx
                             current_pixel = current_pixel + ((current_data & 0x0c) << 6);
                             //Add bits 1,0 of current data to the bottom of the blue channel - xx xx xx --
                             current_pixel = current_pixel + (current_data & 0x03);
                             image.setRGB(j, i, current_pixel);
              catch(Exception e)
                   System.out.println("Problem with LSB!!");
              return image;
    And here's the corresponding extraction method
         public byte[] LSB_ExtractFromBufferedImage(BufferedImage image)
              int imgWidth = image.getWidth(null);
              int imgHeight = image.getHeight(null);
              int index = 0;
              byte[] extracted_bytes;
              byte[] extracted_data = new byte[12];
              try
                   for (int i = 0; i < imgHeight; i++)
                        for (int j = 0; j < imgWidth; j++)
                             if(index == extracted_data.length)
                                  break;
                             System.out.print("Pixel prior Extract: " + image.getRGB(j, i) + "\n");
                             int current_pixel = image.getRGB(j, i);
                             //Isolate the bit pattern needed for the Int to byte[] method...
                             current_pixel &= 0x00030303;
                             extracted_bytes = IntToByteArray(current_pixel);
                             for(int t = 0; t < 4; t++)
                                  extracted_data[index++] = extracted_bytes[t];
              catch(Exception e)
                   System.out.println("Problem with LSB Extraction!!");
              return extracted_data;
    Unfortunately, this doesn't work all that well (by that, I mean not working at all!) It does return the bits alright, but not the ones that were previosuly embedded. Does anyone have any ideas on any aspect of these methods as to why that shouldn't work??
    Any help is greatly appreciated!
    Cougaris

    Are you sure that you interpret your results correctly ?
    Your routines use different data representations and that leads easily to misinterpretation.
    Especially as you only use 6 Bits from an int but take 4 Bytes as result.
    Post some input and output data. i.e. an array of 3 values for formattedData and the 12 resulting bytes. I expect the data to be correct (relative to your code, probably not to your intentions).
    Regards
    SH

  • Steganography in JPG or MP3 files

    Does anyone have any information or code about how to hide information in JPG or MP3 files?
    Thanks!

    You can do this, but I would discourage using MP3 files, because they seem to cause a lot of trouble. I would convert the mp3 file to AIFF using iTunes.
    There is a feature in iMovie called the Beat marker feature. You can drag in an audio track to an empty project. You can then open the audio track in the clip trimmer and add beat markers. Later, you can add video clips or photos to the project and  they should snap to these beat markers.
    There is a good tutorial here.
    http://www.kenstone.net/fcp_homepage/imovie_09_stone.html#markers

Maybe you are looking for