Jackcess Encrypt

Jackcess Encrypt is an extension library for the Jackcess project which implements support for some forms of Microsoft Access and Microsoft Money encryption. Jackcess Encrypt is licensed under the GNU Lesser General Public License.

This project is separate from the main Jackcess project for two main reasons:

  • The encryption support requires an additional library (Bouncy Castle). Making this support separate from the main Jackcess library allows users to avoid including unnecessary libraries.
  • Sourceforge has restrictions on the distribution of software which use encryption. Keeping this support in a separate project allows the main Jackcess library to be distributed more freely.

Jackcess Encrypt 2.0

In order to match the API changes made in Jackess 2.0, the Jackcess Encrypt project has made a similar version change. Read the Upgrade Guide for full details.

Sample code

This project's encryption support can be utilized by providing a CryptCodecProvider when opening an Access Database.

  • Open a Database with normal Jet file encoding:
    Database db = new DatabaseBuilder(myDbFile)
      .setCodecProvider(new CryptCodecProvider())
  • Open a Database with an encoding which requires a password to decode:
    Database db = new DatabaseBuilder(myDbFile)
      .setCodecProvider(new CryptCodecProvider("MyDbPassword"))