RSA and DES encryption and decryption with C++ on Windows

Dr. Matthias St. Pierre Matthias.St.Pierre at ncp-e.com
Mon Apr 11 19:24:31 UTC 2022


Pauli accidentally posted a link to our internal repository. You can jost replace githuib.openssl.org by github.com:


https://github.com/openssl/openssl/tree/master/demos/encrypt


Matthias


From: openssl-users <openssl-users-bounces at openssl.org> On Behalf Of John Alway
Sent: Monday, April 11, 2022 7:06 PM
Cc: openssl-users at openssl.org
Subject: Re: RSA and DES encryption and decryption with C++ on Windows

Pauli,

Thanks for the link, but apparently that code requires having an account to view it.

However, I've passed the information from this thread onto the guy I'm working with and he's going to reevaluate what he wants to do.

Regards,
...John

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>

Virus-free. www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>


On Sun, Apr 10, 2022 at 5:52 PM Dr Paul Dale <pauli at openssl.org<mailto:pauli at openssl.org>> wrote:
Have a look in the demos/encrypt folder: https://github.openssl.org/openssl/openssl/tree/master/demos/encrypt

There has been an amount of effort put into updating these for 3.0 & later.  There is more to do.


Pauli
On 10/4/22 23:50, Kenneth Goldman wrote:

Anyway, I'm trying to encrypt/decrypt using RSA and DES schemes.  I've tried some of the older code examples I could find, but some of the functions weren't recognized by my header files.
[kgold] You cannot encrypt long streams with RSA.  DES is deprecated.

Can anyone help me with this?  I want to encrypt fairly long strings.  A few hundred bytes or so.   Maybe longer.  If I can do a continuous stream of blocks that would be great, as well.


[kgold] Post a short example that did not work.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220411/cc9e11fe/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7448 bytes
Desc: not available
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220411/cc9e11fe/attachment-0001.bin>


More information about the openssl-users mailing list