How to confirm a DB has been encrypted - SQLite?
Posted: Mon 31 Jul 2017 12:40
I wring a small routine to encrypt databases using the Unidac SQLite components.
Basically a utility to encrypt read only DB's as an when required.
1) Before attempting to encrypt a database - or even read from it - how does one determine if the database has already been encrypted before proceeding with encryption?
2) If a DB has already been encrypted, what happens if an attempt is made to encrypt the database a second time - given the same encryption method and password.
I assume nothing untoward but thought I should just check!
Lastly, just for my records, what characters can be used in an encryption password (Blowfish, AES etc)? Only 'Printing Characters', ASCII 0 - 127, or the extended ASCII 0 - 255?
Many thanks!
Tony
PS. Using the same code as per the Devart documentation.
Basically a utility to encrypt read only DB's as an when required.
1) Before attempting to encrypt a database - or even read from it - how does one determine if the database has already been encrypted before proceeding with encryption?
2) If a DB has already been encrypted, what happens if an attempt is made to encrypt the database a second time - given the same encryption method and password.
I assume nothing untoward but thought I should just check!
Lastly, just for my records, what characters can be used in an encryption password (Blowfish, AES etc)? Only 'Printing Characters', ASCII 0 - 127, or the extended ASCII 0 - 255?
Many thanks!
Tony
PS. Using the same code as per the Devart documentation.