|
-
Sep 11th, 2003, 05:13 PM
#1
Thread Starter
Member
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
-
Sep 11th, 2003, 07:02 PM
#2
-
Sep 12th, 2003, 03:03 AM
#3
Thread Starter
Member
Please don't discourage me, I never hurt anyone.
"You're watching FOX News channel, real journalism, fair and balanced." - Ha
-
Sep 12th, 2003, 10:38 AM
#4
-
Sep 12th, 2003, 03:00 PM
#5
Thread Starter
Member
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
-
Sep 12th, 2003, 03:05 PM
#6
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|