Encrypting databases on creation

You configure a Derby database for encryption when you create the database by specifying the dataEncryption=true attribute on the connection URL.

The Java Runtime Environment (JRE) determines the default encryption provider, as follows:

You have the option of specifying an alternate encryption provider. The default encryption algorithm is DES, but you have the option of specifying an alternate algorithm as well.

Related concepts
Creating the boot password
Booting an encrypted database
Changing the boot password
Specifying an alternate encryption provider
Specifying an alternate encryption algorithm
Related tasks
Encrypting databases with a new key