encryptionAlgorithm=algorithm encryptionAlgorithm=algorithm encrypting databasesencryption algorithmsdatabasesattributes, encryption algorithmattributesencryptionAlgorithm
Function

Specifies the algorithm for data encryption.

Use the Java conventions when you specify the algorithm, for example: algorithmName/feedbackMode/padding

The only padding type that is allowed with is NoPadding.

If no encryption algorithm is specified, the default value is DES/CBC/NoPadding.

For information about data encryption, see "Encrypting Databases on Disk" in the .

Combining with other attributes

The encryptionAlgorithm attribute must be combined with the attribute and the attribute. You have the option of also specifying the attribute to specify the encryption provider of the algorithm.

Examples -- encrypt a new database jdbc:derby:encryptedDB;create=true;dataEncryption=true; encryptionProvider=com.sun.crypto.provider.SunJCE; encryptionAlgorithm=DESede/CBC/NoPadding; bootPassword=cLo4u922sc23aPe -- configure an existing database for encryption jdbc:derby:salesdb;dataEncryption=true; encryptionProvider=com.sun.crypto.provider.SunJCE; encryptionAlgorithm=DESede/CBC/NoPadding; bootPassword=cLo4u922sc23aPe If the specified provider does not support the specified algorithm, returns an exception.