[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  I'm using Visual Studio 2019.

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

this guys example working:
https://www.youtube.com/watch?v=kxAdd03wyUo&t=621s&ab_channel=HuiYuan
However, his second example here
https://www.youtube.com/watch?v=MMBk_dGgiHI&ab_channel=HuiYuan, only half
worked for me.  The encryption worked, but the decryption threw an error
in EVP_DecryptFinal_ex, where it returned error code 0.

These were just examples I looked at.

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.

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.

 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?

Thanks for any help,
Regards
...John

--000000000000e0e0d405dc42fa72
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I&#39;m a C++ programmer.=C2=A0 =
=C2=A0I recently downloaded and installed the OpenSSL library to my Windows=
 10 machine.=C2=A0=C2=A0</div><div><br></div><div>From this site=C2=A0<a hr=
ef=3D"https://slproweb.com/products/Win32OpenSSL.html";>https://slproweb.com=
/products/Win32OpenSSL.html</a></div><div>=C2=A0I downloaded &quot;

<span style=3D"color:rgb(66,55,5);font-family:&quot;Gill Sans MT&quot;,Aria=
l,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">Win3=
2 OpenSSL v3.0.2</span><span style=3D"color:rgb(66,55,5);font-family:&quot;=
Gill Sans MT&quot;,Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;w=
hite-space:nowrap">&quot; MSI=C2=A0</span></div><div><span style=3D"color:r=
gb(66,55,5);font-family:&quot;Gill Sans MT&quot;,Arial,Verdana,Helvetica,sa=
ns-serif;font-size:13.3333px;white-space:nowrap"><br></span></div><div><spa=
n style=3D"color:rgb(66,55,5);font-family:&quot;Gill Sans MT&quot;,Arial,Ve=
rdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">=C2=A0 I=
&#39;m using Visual Studio 2019.</span></div><div><span style=3D"color:rgb(=
66,55,5);font-family:&quot;Gill Sans MT&quot;,Arial,Verdana,Helvetica,sans-=
serif;font-size:13.3333px;white-space:nowrap"><br></span></div><div><span s=
tyle=3D"color:rgb(66,55,5);font-family:&quot;Gill Sans MT&quot;,Arial,Verda=
na,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 t=
o work.=C2=A0 I did get base64 coding/encoding working, and I was able to g=
et=C2=A0</span></div><div><br></div><div>this guys example working: <a href=
=3D"https://www.youtube.com/watch?v=3DkxAdd03wyUo&amp;t=3D621s&amp;ab_chann=
el=3DHuiYuan">https://www.youtube.com/watch?v=3DkxAdd03wyUo&amp;t=3D621s&am=
p;ab_channel=3DHuiYuan</a></div><div>However, his second example here=C2=A0=
<a href=3D"https://www.youtube.com/watch?v=3DMMBk_dGgiHI&amp;ab_channel=3DH=
uiYuan">https://www.youtube.com/watch?v=3DMMBk_dGgiHI&amp;ab_channel=3DHuiY=
uan</a>, only half worked for me.=C2=A0 The encryption=C2=A0worked, but the=
 decryption threw an error in=C2=A0EVP_DecryptFinal_ex, where it returned e=
rror code 0.=C2=A0=C2=A0</div><div><br></div><div>These were just examples =
I looked at.</div><div><br></div><div>Anyway, I&#39;m trying to encrypt/dec=
rypt using RSA and DES schemes.=C2=A0 I&#39;ve tried some of the older code=
 examples I could find, but some of the functions weren&#39;t recognized by=
 my header files.</div><div><br></div><div>Can anyone help me with this?=C2=
=A0 I want to encrypt fairly long strings.=C2=A0 A few hundred bytes or so.=
=C2=A0 =C2=A0Maybe longer.=C2=A0 If I can do a continuous stream of blocks =
that would be great, as well.</div><div><br></div><div>=C2=A0Also, is there=
 an efficient way to search this email list?=C2=A0 I was trying to search f=
or similar questions but wasn&#39;t able.=C2=A0 =C2=A0 I guess I could use =
google and the email list name?</div><div><br></div><div>Thanks for any hel=
p,</div><div>Regards</div><div>...John</div><div><br></div><div><br></div><=
div><span style=3D"color:rgb(66,55,5);font-family:&quot;Gill Sans MT&quot;,=
Arial,Verdana,Helvetica,sans-serif;font-size:13.3333px;white-space:nowrap">=
<br></span></div></div>

--000000000000e0e0d405dc42fa72--



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux