Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Photo Encyption...

  1. #1
    Senior Member codenamevirus's Avatar
    Join Date
    Jun 2005
    Location
    Faridabad, Haryana, India
    Posts
    298

    Photo Encyption...

    hi peeps

    I already know that we can encrypt a message on a pic such that other people can only view the image but not the message. And for reading the message a decypting technique is used.

    Now the question is, how can we do this encrpytion/decyption on a photograph???
    CodeNameVirus

  2. #2
    Senior Member therenegade's Avatar
    Join Date
    Apr 2003
    Posts
    400
    It's data after all?If you're encrypting something at the bit level I dont think it'll matter whether it's a txt or a jpg file

  3. #3
    Member
    Join Date
    Sep 2004
    Posts
    77
    google abt ur querry yaar..

  4. #4
    Now, RFC Compliant! Noia's Avatar
    Join Date
    Jan 2002
    Posts
    1,210
    google for steganography, what your talking about sounds more like the program "camoflage"(sp??) than any real kind of encryption.
    With all the subtlety of an artillery barrage / Follow blindly, for the true path is sketchy at best. .:Bring OS X to x86!:.
    Og ingen kan minnast dei linne drag i dronningas andlet den fagre dag Då landet her kvilte i heilag fred og alle hadde kjærleik å elske med.

  5. #5
    Member
    Join Date
    Sep 2004
    Posts
    77
    Here is a link to find info abt Steganography.. they have a complete section on it.

    www.astalavista.com

  6. #6
    AO Senior Cow-beller
    Moderator
    zencoder's Avatar
    Join Date
    Dec 2004
    Location
    Mountain standard tribe.
    Posts
    1,177
    Yes, let's clarify what your talking about. You want to make it so an image is not viewable? Do you want to hide the fact that the image is protected? What I mean is, if someone intercepts the message in transit, are they going to recognize from casual observation that there is a hidden image in the message or it's attachments?

    For the sake of this discussion, I'll ridiculously simplify these terms.
    Encryption is essentially locking, so those who are not authorized, can not view the data.
    (Those of you studying for Security+ or CISSP, this is Confidentiality, from the C.I.A. Not CIA as in spooks, CIA as in the goals of information security.)

    If you want to hide the image so people don't know it's there, then you could use something like...steganography, to hide the data for the image inside another set of data. This is Obfuscating. For those of you in the audience not familiar with that term, it means 'to obscure'.

    M-W.com: obscure
    Pronunciation: äb-'skyur, &b-
    Function: adjective
    Etymology: Middle English, from Middle French obscur, from Latin obscurus
    1 a : DARK, DIM
    b : shrouded in or hidden by darkness
    c : not clearly seen or easily distinguished : FAINT
    2 : not readily understood or clearly expressed; also : MYSTERIOUS
    3 : relatively unknown: as
    a : REMOTE, SECLUDED
    b : not prominent or famous <an obscure poet>

    So, which is it? Do you want it to be confidential, or obscure?

    </end of ridiculous simplification and misappropriation of these terms>
    "Data is not necessarily information. Information does not necessarily lead to knowledge. And knowledge is not always sufficient to discover truth and breed wisdom." --Spaf
    Anyone who is capable of getting themselves made president should on no account be allowed to do the job. --Douglas Adams (1952-2001)
    "...people find it far easier to forgive others for being wrong than being right." - Albus Percival Wulfric Brian Dumbledore

  7. #7
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    Hi codenamevirus and welcome to AO.

    Your question is not entirely clear, but I believe that therenegade has answered it........."they are all data"?

    As I currently understand you, you are saying that we can hide a text file within an image file (.jpg, .bmp, .gif etc.) So can we hide an image file inside a text file?

    Well, if that is your question, then the answer is "yes" in theory

    As correctly mentioned by the above posters, this is "steganography"

    This leads us to the practical considerations of scale ..............you can hide a small thing within a large thing, but you cannot hide a large thing within a small one.

    Document files are generally very small and picture files are much bigger. In the reverse situation it would not work

    You would need a large document and a very small/compressed picture. I would suggest that a picture in a music (audio) file would be a better option. And I have no idea what a video file would be like. Both obey the large to small rule.

    You have raised an interesting question, I shall have to go and experiment.


  8. #8
    Regal Making Handler
    Join Date
    Jun 2002
    Posts
    1,668
    A very simple way to use steganography.

    Open an image in a photo editing suite add a new layer, insert into that layer some text, making sure the text is the same colour as the back ground. To decrypt seperate layers.
    What happens if a big asteroid hits the Earth? Judging from realistic simulations involving a sledge hammer and a common laboratory frog, we can assume it will be pretty bad. - Dave Barry

  9. #9
    Senior Member codenamevirus's Avatar
    Join Date
    Jun 2005
    Location
    Faridabad, Haryana, India
    Posts
    298
    hi

    thanks for all ur replies.

    i'll make my question more clear now...

    Basically what I wanted to do was, encrypt the message(the text) on the photograph(most probably, .jpeg or .gif), and when I send it to someone(say A), only he's capable to decrypt it and view the text I hav sent. But, for everyone else its just an image(they aren't able even to think that the image can also hav a secret message!!). So, do u got my point now?? i.e. only the two people(myself and the perosn A) know that the image has a message and can read the message by using the decryptin techniques, and for eveyone else its just an ordinary image!!! Remember, I want to hide my text and not my image, anyone can download and see that but only myself and A can read the text encrypted in it!!! After all the replies, I think what i want is obsuring (i aint sure, yet!)
    CodeNameVirus

  10. #10
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    OK,

    That is normal steganography. Do a google search for "freeware" then look through the various sites for data encryption, data proyection and you should find a free product.

    Remember that your friend will need a copy as well.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •