steganography

Simple/Basic steganography algorithms and methods

江枫思渺然 提交于 2019-12-02 23:28:44
What are the basic and simpliest steganography algorithms and methods? I mean the steganography applied to images. How does a simple program that hides data to images work? What are the main techniques used? How does the program recognize the encrypted message in image without the source image? What are the basic and simpliest steganography algorithms and methods? I mean the steganography applied to images. I have written a library for this in the past a long time ago so I can describe the process. Basically if you have a file format, let's say the 24-bit BMP format. First you need a way to

embedding a character in an image

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 07:31:10
So here is what I was trying to do. I'm absolutely new to matlab. It has only been a day or so that I've used it and here is a little something that my teacher had asked me to do. Embed statements or group of strings within an image using the LSB Algorithm. The string is to be read from a file. As of now, I've not used any file operations. I'm trying this using one character and I don't know whats wrong. The algo seems simple but my output i.e, both the cover and the steg pixels show the same value. :( cover=imread('D:\l.jpg'); steg=cover; l=1; LSB=0; height = size (cover, 1); width = size

Bitmap color change while compressing to png

隐身守侯 提交于 2019-12-01 11:24:53
I'm currently working on a steganogrpahy android app as a class project. I've created an object that will encode an image with in another image and return an encoded bitmap. This code is run in a seprate thread. new Thread(new Runnable() { public void run() { Bitmap encoded_image = null; Encryptor encryptor = new Encryptor(); encoded_image = encryptor.encode_image_in_image( image_location,message_image_location); } }).start(); After encoding the bitmap I was passing the bitmap to a file browser activity that I've created to save the bitmap as a png image. This method works for smaller images

Image Steganography

隐身守侯 提交于 2019-11-30 13:19:09
I'm working on Steganography application. I need to hide a message inside an image file and secure it with a password, with not much difference in the file size. I am using Least Significant Bit algorithm and could do it successfully with BMP files but it does not work with JPEG, PNG or TIFF files. Does this algorithm work with these files at all? Is there a better way to achieve this? Thanks. This heavily depends on the way the particular image format works. You'll need to dive into the internals of the format you want to use. For JPEG, you could fiddle with the last bits of the DCT

Compose synthetic English phrase that would contain 160 bits of recoverable information

眉间皱痕 提交于 2019-11-30 07:07:06
I have 160 bits of random data. Just for fun, I want to generate pseudo-English phrase to "store" this information in. I want to be able to recover this information from the phrase. Note: This is not a security question, I don't care if someone else will be able to recover the information or even detect that it is there or not. Criteria for better phrases, from most important to the least: Short Unique Natural-looking The current approach, suggested here : Take three lists of 1024 nouns, verbs and adjectives each (picking most popular ones). Generate a phrase by the following pattern, reading

Image Steganography

為{幸葍}努か 提交于 2019-11-29 18:43:37
问题 I'm working on Steganography application. I need to hide a message inside an image file and secure it with a password, with not much difference in the file size. I am using Least Significant Bit algorithm and could do it successfully with BMP files but it does not work with JPEG, PNG or TIFF files. Does this algorithm work with these files at all? Is there a better way to achieve this? Thanks. 回答1: This heavily depends on the way the particular image format works. You'll need to dive into the

Failing to decode as same length as input

丶灬走出姿态 提交于 2019-11-29 13:09:22
This is a Link Embedding Messages in Digital Images using JAVA, they provide the sample code also, but when i tried to embed over 38 characters, it will give different output when i run the decode part. I am using 111x115 (6.38k) image. my question is in this article, it said n=(p-32)/8 , n is the maximum length of message and P is the number of pixels. so if i calculate the image i used, it will be n=(6380-32)/8=793.5. Since like i could store 793.5 characters in this image, but when i tried to put more than 38 characters, it will give me different output when i did decode part. (under 38

Hiding message in JPG image

岁酱吖の 提交于 2019-11-28 10:38:33
I am trying to hide a in an image it's working fine with .bmp & .png but when I write image as JPG and try to retrieve the hidden message it is not working. My procedure, first read an image in format ( bmp , gif , jpg , png ) write message to hide and save it so that we can again read it and extract the message. When i save it with bmp or png it works fine but when saving with jpg and try to extract the message it doesn't work. ImageIO.write(bimg, "png", outputfile);//working ImageIO.write(bimg, "png", outputfile);//not working What should I do to make it work for JPEG? note: I am reading

LSB-DCT based Image steganography

狂风中的少年 提交于 2019-11-27 09:48:36
I'm working on LSB-DCT based Image steganography in which i have to apply LSB to DCT coefficients of the image for data embedding to JPEG.i'm new to all this.so searched and read some research papers they all lack a lot of information regarding the process after DCT.i also read many questions and answers on stackoverflow too and got more confused. here are the questions: 1-reasearch paper and in question on the web they all are using 8x8 block size from image for DCT..what i should do if the resolution of image does not completely divides into 8x8 blocks like 724 x 520. 520 / 8 = 65 but 724 /

How can you hide information inside a jpg or gif photo?

最后都变了- 提交于 2019-11-27 07:07:20
How can I write some information inside a photo file like jpg or gif without destroying the image? and of course without showing it on the photo since the whole idea is to send information in the file of photo undetected by anyone (to provide security/privacy to some extent)! You can store some information in image metadata. In fact that's how man digital cameras 'tag' the photos their making (camera model, date and time, GPS coords etc.). This data format is called EXIF (Exchangeable Image File Format). There are a lot of examples how to use it in programming languages. Here's the example in