Skip to content

cipher_default_kdf_iter become invaild #118

Closed
@cczscq

Description

@cczscq

Hi Nick Parker:
I have some problem about sqlcipher.
1.How to set the default cipher_default_kdf_iter in your source code?
2.I use SQLiteDatabaseHook to set cipher_default_kdf_iter, After I restart my app some times, it always report "CREATE TABLE android_metadata failed,SQLiteException: file is encrypted or is not a database". My old databases become invaild.
3.I has set cipher_default_kdf_iter to 4000, the method named openOrCreateDatabase spend about 180ms; But when the phone reboot, this method go back to 1800+ms;

I search the problems in google groups,try a lot of methods, none works.
Do you have some better advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions