2
votes

What are the most stable and useful Cryptography libraries, that they are:

  • written with/for python, c++, c#, .net
  • opensource, GNU, or other free license
4
See related questions for dupes including stackoverflow.com/questions/1343977/… - anon
You should also mention that the libraries must be downloadable from Iran, as many countries may block that (sorry, I don't know the details or where you might best download from, I'm just pointing out that you should edit the question to make this requirement explicit). - Alex Martelli
@Alex: As an example, which open source cryptography library can't be downloaded from Iran? - Matthieu N.

4 Answers

2
votes

The standard Python library (implementing common ciphers like AES and RSA) is PyCrypto. It doesn't support things like PKCS yet, however. There is a partial Python wrapper for the Crypto++ library given by PyCryptopp, which you may find useful.

The OpenSSL library is also wrapped for Python by PyOpenSSL. A Python implementation of SSH is Paramiko.

2
votes

For C# and Java, there is bouncycastle. The granddaddy of crypto libraries is openssl. For C++, another very mature library is crypto++.

1
votes

Take a look at KeyCzar

Some features of Keyczar include:

  • A simple API
  • Key rotation and versioning
  • Safe default algorithms, modes, and key lengths
  • Automated generation of initialization vectors and ciphertext signatures
  • Java, Python, and C++ implementations
  • International support in Java (Python coming soon)

Doesn't seem to have C# support though.

0
votes

NSS works with C++, and has bindings for Java and Python, although I'm not sure if it has .NET/Mono bindings yet.