Specifies a new external encryption key for an encrypted database. All of the existing data in the database is encrypted using the new encryption key and any new data written to the database will use this key for encryption. For more information about this attribute, see "Encrypting databases with a new external key" in the Derby Developer's Guide.
The newEncryptionKey attribute must be combined with the encryptionKey=<key> attribute.
You cannot change the encryption provider or the encryption algorithm when you use the newEncryptionKey attribute.
-- specify a new encryption key for a database
jdbc:derby:salesdb;encryptionKey=6162636465666768;newEncryptionKey=6862636465666768