• Although this extention’s code is short, it has not been properly peer-reviewed yet and may have introduced vulnerabilities.
    • The code contains minimum values for passphrase length and kdf_iter, as well as a default value for the later. Do not regard these numbers as advice. Consult the docs at and security experts.

    class (database, passphrase, kdf_iter=64000, \*kwargs*)

    Subclass of SqliteDatabase that stores the database encrypted. Instead of the standard sqlite3 backend, it uses : a python wrapper for sqlcipher, which – in turn – is an encrypted wrapper around sqlite3, so the API is identical to ’s, except for object construction parameters:

    • If the file doesn’t exist, it will be created with encryption by a key derived from passhprase with kdf_iter PBKDF2 iterations.
    • Parameters:passphrase (str) – New passphrase for database.

      Change the passphrase for database.

    Notes:

    Example:

    See also: a slightly more elaborate .