Thread: XOR cipher program

  1. #1
    Registered User Aseefa Ahamad's Avatar
    Join Date
    Nov 2012

    XOR cipher program

    write an XOR cipher program using the
    C programming language.
    Your program must accept as input from the user a value between 0 and 255 to be used as the
    secret key, the name of the input file and the name of the output file. No line in the input file
    should contain more than 4096 characters.
    After the user would have provided their secret key, your program should read and perform an
    XOR cipher on the contents of the input file and write the result to the output file.
    If the input file has already been encrypted and the identical secret key that was used to
    perform the initial encryption is provided, then the contents of the output file should be
    deciphered into its original plain text.

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Nice, France
    The rule is that you first post your attempt and then trust me there are many people here able and willing to help you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with my ceaser cipher program
    By tombocollbo in forum C Programming
    Replies: 9
    Last Post: 12-16-2010, 05:00 PM
  2. Simple Cipher Program
    By PunchOut in forum C Programming
    Replies: 7
    Last Post: 11-22-2008, 01:12 PM
  3. Crashing Vigenere Cipher program
    By ultrabot90 in forum C++ Programming
    Replies: 15
    Last Post: 09-21-2007, 05:41 PM
  4. cipher program need alil help
    By Uber Fr0g in forum C Programming
    Replies: 3
    Last Post: 12-14-2005, 07:38 PM
  5. Cipher program
    By Mule in forum C++ Programming
    Replies: 3
    Last Post: 04-26-2003, 07:52 PM