|
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:
- For J2SE/J2EE 1.4 or higher, the JRE's provider is the default.
- If your environment for some reason does not include a provider, it must be specified.
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. See Specifying an alternate encryption provider
|