UltraLite Embedded SQL User's Guide
Embedded SQL Library Functions
ul_bool ULChangeEncryptionKey( SQLCA *sqlca, ul_char *new_key );
Changes the encryption key for an UltraLite database.
Caution When the key is changed, every row in the database is decrypted using the old key and re-encrypted using the new key. This operation is unrecoverable. If the application is interrupted part-way through, the database is invalid and cannot be accessed. A new one must be created. |
Changing the encryption key for a database