iOS, fmdb database encryption
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:31:22
0
2
708

Database encryption. I directly imported sqlite3.h and sqlite3.c of sqlcipher into the project for database encryption, but there is no openssl reported here.
However, I saw that the official tutorial did not say that you need to add openSSL. Anyone know how to solve it?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
滿天的星座

Thanks for the callback upstairs, but this is not the case. I have found a solution to this problem myself. Link address: http://www.jianshu.com/p/bd78.... But now I have encountered a problem. How to view the encrypted database? Does anyone know?

世界只因有你

https://github.com/sqlcipher/sqlcipher
Looking at it, the writing is very clearREADME

You need to link against a OpenSSL's libcrypto
The link you need

. OpenSSLlibcrypto

Compile example

$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
    LDFLAGS="-lcrypto"
$ make
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template