Thread: Need to encrypt some .txt files...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434

    Exclamation Need to encrypt some .txt files...

    For a databse type program im making. I DO NOT WANT TO HEAR the words XOR. I was hoping somebady knewa simple yet secure algorithm for me to research to encrypt thses files. I am already using a XOR/One-time pad for the login to the program. Please any information you could provide would be greatly appreciated. Please if you provide a link to the tutorial please make sure the tut is comprehensive. I get reccommendations to tuts all the time that do a half assed job of explaining things. Thanks so much!

  2. #2
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Why dont you try XOR?

    Anyway, codeguru has a lot of pages on encyrption and compression algorithms.
    http://www.codeguru.com/Cpp/Cpp/algo...cle.php/c7043/
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    Thanks, that looks like an awesome site!

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > I am already using a XOR/One-time pad for the login to the program
    Huh?
    I thought login was supposed to be a repeatable process, not suited to a one time pad.

    > I DO NOT WANT TO HEAR the words XOR
    And I don't like people yelling at me because they're too incapable of STFW for themselves.
    Besides, how else are you going to combine the clear text with the cypher - modulo addition?
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error opening files in a different dir
    By Ozzie in forum C++ Programming
    Replies: 3
    Last Post: 10-09-2008, 06:55 AM
  2. Working with muliple source files
    By Swarvy in forum C++ Programming
    Replies: 1
    Last Post: 10-02-2008, 08:36 AM
  3. Using .txt files (understading lines)
    By cogeek in forum C Programming
    Replies: 4
    Last Post: 11-16-2004, 08:15 AM
  4. Folders and text files
    By tim545666 in forum C++ Programming
    Replies: 11
    Last Post: 02-17-2002, 04:15 PM
  5. Printing list of .txt files saved in directory
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 01-16-2002, 12:33 AM