Encryption Question about tutorial on this site

This is a discussion on Encryption Question about tutorial on this site within the C++ Programming forums, part of the General Programming Boards category; I read the tutorial on this site about xor encryption, and I understand it, but I am having trouble encrypting ...

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    2

    Encryption Question about tutorial on this site

    I read the tutorial on this site about xor encryption, and I understand it, but I am having trouble encrypting a file, instead of a string. The tutorial is http://www.cprogramming.com/tutorial/xor.html

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,849
    But where is your code that you have so far?

    Read file into a string, then encrypt that string perhaps?
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Design layer question
    By mdoland in forum C# Programming
    Replies: 0
    Last Post: 10-19-2007, 05:22 AM
  2. I need help to compile this code...
    By wise_ron in forum C Programming
    Replies: 17
    Last Post: 05-07-2006, 01:22 PM

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