Results 1 to 6 of 6

Thread: Secure file encryption

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2003
    Location
    The United Kingdom
    Posts
    45

    Question Secure file encryption

    Hi,

    I have a question regarding file encryption. I have read many posts here but cant find one that answers my question. If I have missed an existing post please point me in the right direction.

    My question:

    I am trying to send a file between two computers. I have a winsock routine that does this nicely and can send and transmit binary files etc.

    The problem however is that I wish to encrypt the file before it is sent and the decrypt it on the recieveing machine. I could build some encryption into my program with an encryption key that stays the same but ultimately it would be possible to break it.

    I have heard about private and public key encryptions, I assume it would be possible to have the recieveing machine generate both the keys and the sending machine uses the private key to send the file but I dont have nearly enough knowledge or experience to do this.

    Any help or source code would be great.
    Please don't discourage me, I never hurt anyone.

    "You're watching FOX News channel, real journalism, fair and balanced." - Ha

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2003
    Location
    The United Kingdom
    Posts
    45
    Thanks
    Please don't discourage me, I never hurt anyone.

    "You're watching FOX News channel, real journalism, fair and balanced." - Ha

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    No problem


    Has someone helped you? Then you can Rate their helpful post.

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2003
    Location
    The United Kingdom
    Posts
    45
    Manavo, I read the thread that you indicated but it didnt seem to include anything about the public and private key encryption techniques.
    Please don't discourage me, I never hurt anyone.

    "You're watching FOX News channel, real journalism, fair and balanced." - Ha

  6. #6
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    You shoud do some searching (on the net) about RSA-encoding. This involved some public keys and private keys to encode and decode. It uses modulo calculation with primenumbers, and if you chose the primes big enough, is almost unbrakable.

    If learned about it in the math class.

    I hope this helps you on the way
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width