Skip to content

sami1971/sqlcipher-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLCipher for Visual Studio

sqlcipher-windows is a simple port of the open-source SQLCipher library [src] for Visual Studio 2010.

The base source code is copied from SQLite3 (amalgamation form). The security enhancements provided by SQLCipher are copied directly from its source code. This is trivial since SQLCipher's modifications to SQLite's source are denoted by code enclosed in

/* BEGIN CRYPTO */
...
/* END CRYPTO */

sqlcipher-windows adds a few minor code modifications to allow SQLCipher's code to build with the SQLite amalgamation source distribution and to quell some warnings.

This project was mostly informed by the generous video by Mike Stephenson which can be found here.

Dependencies

You will need a build of OpenSSL as a static library for x86 and x86-64 (see Building OpenSSL for Visual Studio). Place the OpenSSL libraries in a folder structured like this:

openssl\
    x86\
        lib\
            libeay32.lib
            libeay32-debug.lib
        openssl\
            [openssl headers]
    x86-64\
        lib\
            libeay64.lib
            libeay64-debug.lib
        openssl\
            [openssl headers]

Place the path to your openssl folder in a Windows environment variable called OpenSslDir. For example, if C:\Libraries\openssl-1.0.1c is the path to your OpenSSL library folder, then OpenSslDir must be C:\Libraries\openssl-1.0.1c.

Versions

sqlcipher-windows is a combination of

and has been successfully built with the following versions of OpenSSL:

About

SQLCipher with Visual Studio 2010 project files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published