Database Connection URL Attributes
Page 9 of 17

encryptionAlgorithm=algorithm

Function

Specifies the algorithm for data encryption.

Specify the algorithm per the Java conventions:

algorithmName/feedbackMode/padding

The only padding type allowed with Cloudscape 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 Cloudscape Developer's Guide).

Combining with Other Attributes

Must be combined with create=true, bootPassword=key, dataEncryption=true, and encryptionProvider=providerName.

Example

jdbc:cloudscape:encryptedDB;create=true;dataEncryption=true;
    encryptionProvider=com.sun.crypto.provider.SunJCE;
    encryptionAlgorithm=DESede/CBC/NoPadding;
    bootPassword=clo760uds2caPe

NOTE: If the specified provider does not support the specified algorithm, Cloudscape throws an exception.

NEW: The encryptionAlgorithm attribute is new in 3.6.