# encryptionProvider=providerName

#### Function

Specifies the provider for data encryption. For information about data encryption, see "Encrypting Databases on Disk" in the Derby Developer's Guide.

If this attribute is not specified, the default encryption provider is the one included in the JVM that you are using.

#### Combining with other attributes

The encryptionProvider attribute must be combined with the bootPassword=key and dataEncryption=true attributes. You can also specify the encryptionAlgorithm=algorithm attribute.

#### Examples

    -- create a new, encrypted 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

Parent topic: Setting attributes for the database connection URL
Related reference
bootPassword=key
create=true
createFrom=Path
databaseName=nameofDatabase
dataEncryption=true
encryptionKey=<key>
encryptionAlgorithm=algorithm
logDevice=logDirectoryPath
newEncryptionKey= <key>
newBootPassword = <new password>
password=userPassword
restoreFrom=Path
rollForwardRecoveryFrom=Path
shutdown=true
territory=ll_CC
user=userName
(no attributes)