mutecomm / go-sqlcipher

Self-contained Go sqlite3 driver with an AES-256 encrypted sqlite3 database
Other
159 stars 60 forks source link

Any updates on KDF algo itr, HMAC algo and KDF algo #10

Closed akjhacse closed 4 years ago

akjhacse commented 4 years ago

Can you please let me the value of KDF itereations , HMAC algo used and KDF algo used. If page size is 4096

akjhacse commented 4 years ago

I want to decrypt it using sqlite browser studio

frankbraun commented 4 years ago

I use the default values from SQLCipher as described for example here: https://www.zetetic.net/sqlcipher/design/

This seems to be a sqlite browser studio question or SQLCipher, nothing related to this package.

frankbraun commented 4 years ago
PRAGMA cipher_page_size = 1024;
PRAGMA kdf_iter = 64000;
PRAGMA cipher_hmac_algorithm = HMAC_SHA1;
PRAGMA cipher_kdf_algorithm = PBKDF2_HMAC_SHA1;

From: https://discuss.zetetic.net/t/upgrading-to-sqlcipher-4/3283