Confused about encryption with public and private keys (which to use for encryption)
Posted
by jax
on Stack Overflow
See other posts from Stack Overflow
or by jax
Published on 2010-06-04T15:02:26Z
Indexed on
2010/06/05
7:12 UTC
Read the original article
Hit count: 788
I am making a licensing system when clients ask my server for a license and I send them a license if they are permitted to have one.
On my current system I encrypt the license using a single private key and have the public key embedded into the client application that they use to decrypt the license. It works!
Others have told me that I should be encrypting with the public key on the server and distributing the private key to clients. I have searched the web and can see that sometimes they use the private key to encrypt and other times they use the public key to encrypt.
In this case what am I supposed to do?
© Stack Overflow or respective owner