Open Source Full Database Encryption for SQLite

SQLCipher 2.0 is now available! Find out what's changed in the new release.

SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files. Pages are encrypted before being written to disk and are decrypted when read back. Due to the small footprint and great performance it’s ideal for protecting embedded application databases and is well suited for mobile development.

  • Blazing fast performance with as little as 5-15% overhead for encryption on many operations
  • 100% of data in the database file is encrypted
  • Uses good security practices (CBC mode, key derivation)
  • Zero-configuration and application level cryptography
  • Broad platform support: works with C/C++, Obj-C, QT, Win32/.NET, Java, Python, Ruby, etc on Windows, Linux, iPhone/iOS…
  • Algorithms provided by the peer reviewed OpenSSL crypto library.

Resources

Use the following resources to get started with SQLCipher

  • Design – Learn more about SQLCipher’s design philosophy and security features
  • Documentation – Learn how to integrate SQLCipher into your projects and products
  • Downloads – download the SQLCipher source code, or purchase pre-built binaries for Win32 & .NET platforms
  • Mailing List – We encourage all SQLCipher users and developers to join the discussion list for general questions and support. We are few, and they are many! And quite helpful.
  • Bug Tracker – Please report bugs or other issues to the online issue tracker on Github.

About

SQLCipher was originally developed by Zetetic and is used as the encrypted database layer for our applications. Check out these applications to see SQLCipher in action!

Strip – password manager and data vault for iOS Codebook – secure notepad for iOS

Since its release SQLCipher has been adopted by many other commercial and open source products, making it one of the more popular encrypted database platforms.