sqlcipher

SQLCipher is a standalone fork of the SQLite database library that adds 256 bit AES encryption of database files and other security features

Latest version: 4.20.0

Add to xmake.lua

add_requires("sqlcipher 4.20.0")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2026-10-30T05:33:19.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
  • windows: x86, x64, arm, arm64, arm64ec
  • iphoneos: arm64, x86_64
  • macosx: x86_64, arm64

Options

encrypt
enable encrypt · Type: boolean · Default: true
shared
Build shared library. · Type: boolean · Default: false
temp_store
use an in-ram database for temporary tables · Default: 2 · Values: 0, 1, 2, 3
threadsafe
sqltie thread safe mode · Default: 1 · Values: 0, 1, 2

Versions

  • 4.5.3
  • 4.6.0
  • 4.12.0
  • 4.13.0
  • 4.14.0
  • 4.16.0
  • 4.17.0
  • 4.19.0
  • 4.20.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "sqlcipher 4.20.0"

show info

xrepo info "sqlcipher"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("sqlcipher 4.20.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("sqlcipher")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "sqlcipher 4.20.0" shell