MCPcopy Index your code
hub / github.com/bssthu/pysqlsimplecipher

github.com/bssthu/pysqlsimplecipher @v0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2 ↗ · + Follow
25 symbols 60 edges 8 files 4 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

pysqlsimplecipher

Encrypt or decrypt formated sqlite db.

This project is a tool for sqlite database encryption or decryption like sqlcipher without install sqlcipher.

When encrypt or decrypt database, an algorithm called AES-256-CBC is used. Each page shares the same key derived from password, but owns a random initialization vector stored at the end of the page.

Decrypt

python decrypt.py encrypted.db password output.db

Encrypt

python encrypt.py plain.db password output.db

Needs reserved space at the end of each page of the database file.

License

GNU Lesser General Public License Version 3

Core symbols most depended-on inside this repo

try_get_reserve_size_for_specified_page_size
called by 2
pysqlsimplecipher/decryptor.py
decrypt_by_reserve_size
called by 2
pysqlsimplecipher/decryptor.py
usage
called by 1
encrypt.py
main
called by 1
encrypt.py
usage
called by 1
decrypt.py
main
called by 1
decrypt.py
check_database_header
called by 1
pysqlsimplecipher/encryptor.py
encrypt_default
called by 1
pysqlsimplecipher/encryptor.py

Shape

Function 25

Languages

Python100%

Modules by API surface

pysqlsimplecipher/util.py11 symbols
pysqlsimplecipher/decryptor.py6 symbols
pysqlsimplecipher/encryptor.py4 symbols
encrypt.py2 symbols
decrypt.py2 symbols

For agents

$ claude mcp add pysqlsimplecipher \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact