Hi,
There is probably a really obvious answer to this question but I can't see it.
I am encrypting a file using a private key at the server and then sending the file to a client where it is decrypted using the same key. The problem is that there are security risks if I use the same key for every file I encrypt. I can easly generate a random key for each file, but how does the client know what the key is? The obvious answer would be to send the key to the client but it could be intercepted and used to decipher the file.
Any ideas?
Thanks in advance
Jamie
There is probably a really obvious answer to this question but I can't see it.
I am encrypting a file using a private key at the server and then sending the file to a client where it is decrypted using the same key. The problem is that there are security risks if I use the same key for every file I encrypt. I can easly generate a random key for each file, but how does the client know what the key is? The obvious answer would be to send the key to the client but it could be intercepted and used to decipher the file.
Any ideas?
Thanks in advance
Jamie