On 14.10.2014 01:08, Darxis wrote: > I want to decrypt an AES encrypted sqlite3 database created with > DISQLite3. I would like to know how to achieve it. I have the SHA-256 > hex key. From the DISQLite3.chm documentation: function sqlite3_rekey( DB: sqlite3_ptr; const PKey: C_char_ptr; nKey: C_int ): C_int; Change the key on an open database. If the current database is not encrypted, this routine will encrypt it. If PKey=nil or nKey=0, the database is decrypted.Please note that decryption does not work with a SHA-256 hex key. It works by opening the database with the password used to encrypt it and then calling the above function as described.
> What is the AES CipherMode used in DISQLite3? Is it OFB, CBC or ECB? The 2nd in your list. Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa