fixed programmatically

This commit is contained in:
0xflotus 2018-09-21 15:30:47 +02:00 committed by GitHub
parent c6f709fca8
commit dd3749b990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ key data without key derivation.
PRAGMA key = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
To encrypt a database programatically you can use the `sqlite3_key` function.
To encrypt a database programmatically you can use the `sqlite3_key` function.
The data provided in `pKey` is converted to an encryption key according to the
same rules as `PRAGMA key`.
@ -73,7 +73,7 @@ The hex rekey pragma may be used to rekey to a specific binary value
PRAGMA rekey = "x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'";
This can be accomplished programtically by using sqlite3_rekey;
This can be accomplished programmatically by using sqlite3_rekey;
sqlite3_rekey(sqlite3 *db, const void *pKey, int nKey)