Like Tree1Likes
  • 1 Post By std10093

XOR cipher program

This is a discussion on XOR cipher program within the C Programming forums, part of the General Programming Boards category; write an XOR cipher program using the C programming language. Your program must accept as input from the user a ...

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

    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
    Location
    Nice, France
    Posts
    2,681
    The rule is that you first post your attempt and then trust me there are many people here able and willing to help you.
    Salem likes this.

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, 04:00 PM
  2. Simple Cipher Program
    By PunchOut in forum C Programming
    Replies: 7
    Last Post: 11-22-2008, 12: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, 06:38 PM
  5. Cipher program
    By Mule in forum C++ Programming
    Replies: 3
    Last Post: 04-26-2003, 07:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21