Contents Index ULActiveSyncStream function ULClearEncryptionKey function

UltraLite Embedded SQL User's Guide
  Embedded SQL Library Functions

ULChangeEncryptionKey function


Prototype 

ul_bool ULChangeEncryptionKey( SQLCA *sqlca, ul_char *new_key );

Description 

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.

See also 

Changing the encryption key for a database


Contents Index ULActiveSyncStream function ULClearEncryptionKey function