forked from sqlcipher/android-database-sqlcipher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
63 lines (45 loc) · 2.59 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SQLCipher for Android v1 (0.0.6-FINAL)
2011/11/29
CHANGELOG
- includes icu44 data file for devices without it built-in ( < 2.2)
- complete support for original Android SQLite/database package APIs
- improved platform support through unified library (less lib .so files)
- added support for CrossProcess Cursors
- now support Observers/callbacks
CURRENT TESTED PLATFORM SUPPORT
Android 2.1 (SDK Level 7)
Android 2.2 (SDK Level 8)
Android 2.3 (SDK Level 9)
Android 2.3.3 (SDK Level 10)
Android 3.0 (SDK Level 11)
Android 3.1 (SDK Level 12)
Android 3.2 (SDK Level 13)
Android 4.0 (Not Tested)
HOW TO
1) copy the libs folder into your project. If you are targeting 2.2 and below, include the 'icudt44l.zip' in the assets folder as well.
2) Update your import path from android.database to info.guardianproject.database and you are almost there!
3) then when you open your database, just pass a variable argument to the open database method with your password:
SQLiteDatabase.loadLibs(this); //first init the db libraries with the context
SQLiteOpenHelper.getWritableDatabase("thisismysecret"):
4) run your app to ensure all the libraries are being loaded correctly, and that your app runs.
5) You will need to implement a passcode entry user interface to your application, as well.
The longer the passcode, the better.
ABOUT
More info and source code at:
https://guardianproject.info/code/sqlcipher/
http://sqlcipher.net
Or contact us:
#guardianproject on freenode
EXPORT CONTROL
This distribution includes cryptographic software. The country in which you currently reside may have restrictions
on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any
encryption software, please check your country's laws, regulations and policies concerning the import, possession,
or use, and re-export of encryption software, to see if this is permitted. See <http://www.wassenaar.org/> for more
information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as
Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing
cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution
makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception
(see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.
More information is available here: https://guardianproject.info/home/export-information/