Specifying an alternate encryption algorithm

Derby supports the following encryption algorithms.

By Java convention, an encryption algorithm is specified like this:


The only feedback modes allowed are:

By default, Derby uses the DES algorithm of DES/CBC/NoPadding.

Specify an alternate encryption algorithm when you create a database with the encryptionAlgorithm=algorithm attribute. If the algorithm you specify is not supported by the provider you have specified, Derby throws an exception.

Related concepts
Encrypting databases on creation
Specifying an alternate encryption provider