Description: You can specify an alternate provider when you create the database with the encryptionProvider=providerName attribute.
Keywords: Encryption providers, configuring

# Specifying an alternate encryption provider

You can specify an alternate provider when you create the database with the `encryptionProvider=providerName` attribute.

You must specify the full package and class name of the provider, and you must also add the libraries to the application's classpath.

    -- using the the provider library jce_jdk13-10b4.zip|
    -- available from www.bouncycastle.org
    jdbc:derby:encryptedDB3;create=true;dataEncryption=true;
    bootPassword=clo760uds2caPe;
    encryptionProvider=org.bouncycastle.jce.provider.BouncyCastleProvider;
    encryptionAlgorithm=DES/CBC/NoPadding

    -- using a provider
    -- available from
    -- http://jcewww.iaik.tu-graz.ac.at/download.html
    jdbc:derby:encryptedDB3;create=true;dataEncryption=true;
    bootPassword=clo760uds2caPe;
    encryptionProvider=iaik.security.provider.IAIK;encryptionAlgorithm=
    DES/CBC/NoPadding

Parent topic: Creating the boot password
Related concepts
Encrypting databases on creation
Specifying an alternate encryption algorithm