Thread: xor encryption

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    6

    xor encryption

    Hi all ....i have a xor encryption file and the sender told me that :
    When you read it out it is crypted, with xor coding, 8bit unsigned hex value d2, subract 8bit unsigned 4C then the file
    is a ordinary bin file.
    I dont understand what can i do to decrypt the file.
    i will must open the file with winhex or hexplorer or Notepad++ and what can i do to decrypt the file?
    pls someone help me
    it is very importand for me.
    Thanks in Advance
    Contrat

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Why don't you ask the sender?
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  3. #3
    Registered User
    Join Date
    Jan 2013
    Posts
    6
    Quote Originally Posted by std10093 View Post
    Why don't you ask the sender?
    Sender are lost !!!!

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    It looks like your going to need to write a decryption program. You have the key ( subract 8bit unsigned 4C) so you need to write the program to do the decryption.

    Jim

  5. #5
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Quote Originally Posted by jimblumberg View Post
    It looks like your going to need to write a decryption program. You have the key ( subract 8bit unsigned 4C) so you need to write the program to do the decryption.

    Jim
    I think he isn't aware of how to do this.
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  6. #6
    Registered User
    Join Date
    Jan 2013
    Posts
    6
    Yes i have the key but i dont know how i can use it :-(

  7. #7
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    I think he isn't aware of how to do this.
    Probably, I also doubt that he even knows how to write a Hello World program, or has ever heard of Google.

    Jim

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well you've certainly got the cross-posting sorted out...
    Xor Encryption - Dev Shed
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  9. #9
    Registered User
    Join Date
    Jan 2013
    Posts
    6
    Scientists sorry but if I knew that I will not be writing in the forum.
    From what I understand and you do not know how .... for this will ask you to let me help someone who knows and who really wants to help and not to play it smart.
    thanks

  10. #10
    Registered User
    Join Date
    Jan 2013
    Posts
    6
    Yes Salem and thanks for helping me !!!!

  11. #11
    Registered User
    Join Date
    Dec 2012
    Posts
    307
    isnt this the same post from like a week ago, just a new name asking? belive it was that tiger person that started that post?

  12. #12
    Registered User
    Join Date
    Jan 2013
    Posts
    6
    I did finally with the help of Salem ... thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encryption
    By Annonymous in forum C Programming
    Replies: 9
    Last Post: 07-04-2012, 05:21 PM
  2. Replies: 6
    Last Post: 03-08-2012, 05:37 PM
  3. Encryption
    By 4658dan in forum C Programming
    Replies: 6
    Last Post: 12-10-2010, 01:59 PM
  4. xor Encryption
    By cruxis in forum C Programming
    Replies: 5
    Last Post: 11-19-2004, 10:18 AM
  5. little encryption
    By Abdi in forum C++ Programming
    Replies: 1
    Last Post: 05-01-2002, 09:56 AM