On Wed, Dec 28, 2011, Ireneusz Szcze??niak wrote:

> Thank you, Steve, for your post.  Let me explain what I'm trying to
> do.  In the public key cryptography:
> 
> message = Dprv(Epub(message)) = Dpub(Eprv(message)
> 
> D stands for decrypt, E for encrypt
> prv - private key, pub - private key
> 
> And so I tried to do this with the openssl command.
> 

The public key decrypt and private encrypt operations correspond to the
-verify and -sign options to rsautl which is why I suggested them.

The default padding is however different in accordance with the PKCS#1
standard. That can be changed on the commmand line too.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to