Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RSA encryption library for C++ [closed]

I am developing a Win32 application and I would like to use an RSA encryption library. Which library would you recommend?

like image 656
Zombies Avatar asked Sep 20 '08 15:09

Zombies


People also ask

What is C in RSA encryption?

RSA is an asymmetric cryptographic algorithm used by modern computers to encrypt and decrypt messages. Asymmetric means that there are two different keys. This is also called public-key cryptography because one of the keys can be given to anyone.

What is RSA library?

This is a C library for RSA encryption. It provides three functions for key generation, encryption, and decryption. Detailed descriptions of these functions are provided in the header file rsa.

Is RSA encryption still used?

Essentially, the research indicates that RSA is still secure, but many companies are implementing it in insecure ways. As such, it underscores the importance of organizations and manufacturers being “crypto agile” and adhering to cryptographic best practices to maintain trust and security.

Is RSA 1024 secure?

It is said that, currently 1024 bit numbers cannot be factored but, RSA 1024 bit (which is about 310 decimal digits) is not considered secured enough. It is advisable to use RSA with 2048 bit or more, if one needs long term security.


1 Answers

If you're using Win32, why don't you simply use the built-in win32 crypto-API?

Here's a little example how it works in practice:

http://www.codeproject.com/KB/security/EncryptionCryptoAPI.aspx

like image 185
Nils Pipenbrinck Avatar answered Oct 02 '22 12:10

Nils Pipenbrinck