Skip to main content

Module encryption

Module encryption 

Source
Expand description

SQLCipher encryption support for SQLite storage.

This module provides encryption configuration and utilities for SQLCipher-encrypted SQLite databases. All databases created with crate::MdkSqliteStorage::new or crate::MdkSqliteStorage::new_with_key are encrypted using SQLCipher with a 256-bit AES key.

Structs§

EncryptionConfig
Configuration for database encryption using SQLCipher.

Functions§

apply_encryption
Applies SQLCipher encryption to a connection.
is_database_encrypted
Checks if a database file appears to be encrypted.