Thread: how to encrypt/decrypt

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    3

    Question how to encrypt/decrypt

    I need to encrypt/decrypt a set of numbers such as '1234'. The next stept to encrypting this number set is to ad '7' to each of the charaters ex = 1(becomes 8), 2(becomes 9), 3(becomes 0) and 4(becomes 1). Now, the addition part isn't causing me headaches yet, but how to pull the 1, 2,3, & the 4 out and add the 7 to them. Can someone show me how this works. Without running the code, it took me all of 15 seconds to realize that 1234 + 7777 wasn't what I wanted.

    Thanks
    BitWise
    Last edited by bitWise; 10-13-2001 at 12:40 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. looking for simple encrypt/decrypt commands
    By sept in forum C++ Programming
    Replies: 4
    Last Post: 09-28-2007, 07:11 PM
  2. Encrypt/Decrypt files by XOR
    By amirahasanen1 in forum C++ Programming
    Replies: 27
    Last Post: 05-22-2005, 02:38 PM
  3. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  4. Encrypt/Decrypt
    By bitWise in forum C Programming
    Replies: 2
    Last Post: 10-14-2001, 03:48 PM