1
$\begingroup$

Reading online I've found out that for example the RSA implementation that you usually find on textook is not secure. Where I can find some secure implementation of algorithm such as RSA, ECDH, ECDSA?

(written in C or C++ or python)

$\endgroup$
  • 2
    $\begingroup$ Did you check OpenSSL, BearSSL? $\endgroup$ – kelalaka Jan 10 at 22:49
  • $\begingroup$ @kelalaka yes, I've read it on github, but it's not an easy lecture, I was hoping for something more simple. $\endgroup$ – dario Jan 10 at 23:09
2
$\begingroup$

Libsodium is written/implementable in C++, C and Python. It implements lots of crypto systems, such as public key cryptography. Here is the intro in the docs: https://libsodium.gitbook.io/doc/

| improve this answer | |
$\endgroup$
  • $\begingroup$ I didn't find the algorithm that I'm looking for. Probably they implements some other crypto $\endgroup$ – dario Jan 10 at 23:10
  • 1
    $\begingroup$ Here is the PDF for the Python bindings (PyNaCl), and they have lots of stuff about public key crypto ie for elliptic curves etc...: google.com/url?sa=t&source=web&rct=j&url=https://… $\endgroup$ – SamG101 Jan 11 at 14:18
1
$\begingroup$

I think Crypto++ will help you. This is a cryptography library implemented in C++. Its homepage: Crypto++ Library.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.