Apache Commons logo Commons Crypto? logo

Apache Commons Crypto

Apache Commons Crypto is a cryptographic library optimized with AES-NI (Advanced Encryption Standard New Instructions). It provides Java API for both cipher level and Java stream level. Developers can use it to implement high performance AES encryption/decryption with the minimum code and effort. Please note that Apache Commons Crypto doesn't implement the cryptographic algorithm such as AES directly. It wraps to Openssl or JCE which implement the algorithms.

Features

  • Cipher API for low level cryptographic operations.
  • Java stream API (CryptoInputStream/CryptoOutputStream) for high level stream encyrption/decryption.
  • Both optimized with high performance AES encryption/decryption. (1400 MB/s - 1700 MB/s throughput in modern Xeon processors).
  • JNI-based implementation to achieve comparable performance to the native C++ version based on Openssl.
  • Portable across various operating systems (currently only Linux); Apache Commons Crypto loads the library according to your machine environment (It looks system properties, os.name and os.arch).
  • Simple usage. Add the crypto-(version).jar file to your classpath.

Documentation

An overview of the functionality is provided in the user guide. Various project reports are also available.

The Javadoc API documents are available online:

The subversion repository can be browsed.

Releases

See the Download Page for the latest releases.

Change reports are also available.

For previous releases, see the Apache Archive

Support

The commons mailing lists act as the main support forum. The user list is suitable for most library usage queries. The dev list is intended for the development discussion. Please remember that the lists are shared between all commons components, so prefix your email by [crypto].

Issues may be reported via ASF JIRA.