<div dir="ltr">Hello,<div><br></div><div>I'm a C++ programmer.   I recently downloaded and installed the OpenSSL library to my Windows 10 machine.  </div><div><br></div><div>From this site <a href="https://slproweb.com/products/Win32OpenSSL.html">https://slproweb.com/products/Win32OpenSSL.html</a></div><div> I downloaded "

<span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">Win32 OpenSSL v3.0.2</span><span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">" MSI </span></div><div><span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap"><br></span></div><div><span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">  I'm using Visual Studio 2019.</span></div><div><span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap"><br></span></div><div><span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">Anyway, the long and short of it is that I am having a bear of a time getting things to work.  I did get base64 coding/encoding working, and I was able to get </span></div><div><br></div><div>this guys example working: <a href="https://www.youtube.com/watch?v=kxAdd03wyUo&t=621s&ab_channel=HuiYuan">https://www.youtube.com/watch?v=kxAdd03wyUo&t=621s&ab_channel=HuiYuan</a></div><div>However, his second example here <a href="https://www.youtube.com/watch?v=MMBk_dGgiHI&ab_channel=HuiYuan">https://www.youtube.com/watch?v=MMBk_dGgiHI&ab_channel=HuiYuan</a>, only half worked for me.  The encryption worked, but the decryption threw an error in EVP_DecryptFinal_ex, where it returned error code 0.  </div><div><br></div><div>These were just examples I looked at.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div> Also, is there an efficient way to search this email list?  I was trying to search for similar questions but wasn't able.    I guess I could use google and the email list name?</div><div><br></div><div>Thanks for any help,</div><div>Regards</div><div>...John</div><div><br></div><div><br></div><div><span style="color:rgb(66,55,5);font-family:"Gill Sans MT",Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap"><br></span></div></div>