<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Have a look in the demos/encrypt folder:
    <a class="moz-txt-link-freetext" href="https://github.openssl.org/openssl/openssl/tree/master/demos/encrypt">https://github.openssl.org/openssl/openssl/tree/master/demos/encrypt</a><br>
    <br>
    There has been an amount of effort put into updating these for 3.0
    & later.  There is more to do.<br>
    <br>
    <br>
    Pauli<br>
    <br>
    <div class="moz-cite-prefix">On 10/4/22 23:50, Kenneth Goldman
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BN8PR15MB27532A1FB39D1E739062015CF2EB9@BN8PR15MB2753.namprd15.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"DejaVu Sans";
        panose-1:2 11 6 3 3 8 4 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}span.EmailStyle35
        {mso-style-type:personal-reply;
        font-family:"DejaVu Sans",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in">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.<o:p></o:p></p>
            <p class="MsoNormal"><span style="font-family:"DejaVu
                Sans",sans-serif">[kgold] You cannot encrypt long
                streams with RSA.  DES is deprecated.<o:p></o:p></span></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in">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.<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><b><i><o:p> </o:p></i></b></p>
            <p class="MsoNormal"><span style="font-family:"DejaVu
                Sans",sans-serif">[kgold] Post a short example that
                did not work.<o:p></o:p></span></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>