Hi @ all,
 
at the first, sorry for my bad english. (I'm german)
 
I have read a lot of websites and documentation about RSA PKE.
 
This Library is a very useful thing, but i have some trouble with my idea.
 
I want to encrypt sensible Data with the Public key encryption so, that,
the destination application it can be decrypt, but NOT encrypt.
 
During my study, i have lerned, the follows for PKE :
 
Bob and Allice have both an Pup/Priv Keyset.
Everyone keeps the private key for itself and gives the pup key to the other.
 
- Now, when Bob encrypt anything with his private key, everyone can decrypt it
  with the public key from bob.
- If bob want to encrypt sensible data for itself, then, he encrypt the data with his
  puplic key, and so only his can decrypt it, wis his private key.
 
This is, what i need. I want to entcrypt data with a privatekey so, that only the public key, can
decrypt it. And it is importently that the private key is not generateable from the public key !
The public key must be in my application, so that can decrypt the file.
 
Is there any way to do this, in this case, with the crypto++ Library ?
 
I only found the PKE encryption with a public key, and the decryption with the private key.
And i read messages in this list, that the public key is regenarate (contained) in the private key.
 
Is ther any solution to create a private key so, that the public key is NOT regeneratable from the private key ?
 
I hope someone can help me with my problem.
 
Best regards
Torsten
 
 
 

Reply via email to