Crates.io | sqlcrypto |
lib.rs | sqlcrypto |
version | 1.0.1 |
source | src |
created_at | 2020-10-08 08:28:37.023085 |
updated_at | 2021-01-14 09:28:18.984676 |
description | sqlite encryption/decryption |
homepage | |
repository | https://github.com/PizzaCrust/sqlcrypto |
max_upload_size | |
id | 297192 |
size | 37,224 |
SQLCrypto is a pure Rust port of pysqlsimplecipher, a utility to decrypt and encrypt SQLite databases.
Encryption works for databases that have reserves, however databases without them; cannot be encrypted. Support for them will be added soon, however they will be more expensive to encrypt.
SQLCrypto, by default, does not parallelize. You can enable parallelization support through enabling the parallel
feature flag, significantly boosting performance. Additionally, the aes dependency crate allows you to use aesni, if you change some rustc flags; which will boost performance significantly.
With parallelization + aesni, a database that took an upward amount of 300+ seconds in decryption with pysqlsimplecipher; took <40 ms in decryption and <80 ms in encryption.
Not fuzz tested!