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.
  • Secure true random number generator.
  • Java stream API for high level stream encyrption/decryption.
  • High performance AES encryption/decryption optimized with Intel AES-NI.
  • Portable across various operating systems (currently only Linux/Mac OS/Windows); Apache Commons Crypto loads the library according to your machine environment (It looks system properties, os.name and os.arch).
  • Simple usage. Add the commons-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 git 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.