Transparent Encryption

37 views
Skip to first unread message

vegaloz

unread,
Aug 9, 2011, 8:44:16 PM8/9/11
to C#-SQLite
How to activate the transparent encryption for the
Community.CsharpSqlite.SQLiteClient solution?

Noah

unread,
Sep 2, 2011, 12:26:31 PM9/2/11
to C#-SQLite
I've started a new Wiki page for this process

http://code.google.com/p/csharp-sqlite/wiki/ENCRYPTION

Encrypting your database is a 3 step process

1) Compile with SQLITE_HAS_CODEC
2) Activate encryption with a pragma command similar to:
PRAGMA hexkey="0x0102030405060708090a0b0c0d0e0f10"

Note: Your password is the 32 byte hexkey prefixed with 0x

3) Open or attach the database

Noah
Reply all
Reply to author
Forward
0 new messages