Thread: Ask about Encrypt data 2 times.

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    68

    Red face Ask about Encrypt data 2 times.

    I use private key 64 bytes encrypt data 20 bytes.The output (encrypted data) is 64 bytes and I use public key 64 bytes encrypt the data (encrypted data) again the output is 128 bytes long. I want to ask some question if I want the final output just only 64 bytes not 128 bytes.Can I do that? Is the encrypted data will longer everytime I encrypt?

    Thank you for your answer.

  2. #2
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    from what I think you are trying to say, it should be 64 bytes unless you are continuing from the string. but why 64 bytes when it can be only 20 bytes?

    maybe I can help you if you post the source.
    think only with code.
    write only with source.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  2. Replies: 3
    Last Post: 04-18-2008, 10:06 AM
  3. singly linked circular list
    By DarkDot in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2007, 08:55 PM
  4. C Programming Question
    By TK in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 07-04-2002, 07:11 PM
  5. how to use RSA to encrypt my data?
    By orcher in forum C++ Programming
    Replies: 0
    Last Post: 06-15-2002, 08:44 AM