views:

227

answers:

4

Hi all.
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
A: 

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.

matt b
@matt b: it's blocked for my country: You are accessing this page from a forbidden country. has a mirror?
Sorush Rabiee
Any luck with http://code.google.com/p/keyczar/ ? What country?
matt b
@matt b: that's blocked too:Your client does not have permission to get URL /p/keyczar/ from this server. try to access from Iran
Sorush Rabiee
+1  A: 

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

GregS
A: 

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

Ignacio Vazquez-Abrams
+2  A: 

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.

rlotun