Free Cryptography libraries
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
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.
For C# and Java, there is bouncycastle. The granddaddy of crypto libraries is openssl. For C++, another very mature library is crypto++.
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.
NSS works with C++, and has bindings for Java and Python, although I'm not sure if it has .NET/Mono bindings yet.
精彩评论