Need to encrypt some .txt files...

This is a discussion on Need to encrypt some .txt files... within the C++ Programming forums, part of the General Programming Boards category; For a databse type program im making. I DO NOT WANT TO HEAR the words XOR. I was hoping somebady ...

  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
    Dae
    Dae is offline
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,541
    > 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.
    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. 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, 07:15 AM
  4. Folders and text files
    By tim545666 in forum C++ Programming
    Replies: 11
    Last Post: 02-17-2002, 03:15 PM
  5. Printing list of .txt files saved in directory
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 01-15-2002, 11:33 PM

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