IOCipher-master
所属分类:加密解密
开发工具:Java
文件大小:5278KB
下载次数:5
上传日期:2014-12-16 09:58:12
上 传 者:
a53080
说明: iocipher是一个虚拟磁盘加密应用程序不需要设备
是根。它使用一个API标准的克隆工作
文件。只有密码处理开放的虚拟磁盘是什么站
开发商和完全加密的文件存储在。它是基于libsqlfs和sqlcipher。
(IOCipher is a virtual encrypted disk for apps without requiring the device to
be rooted. It uses a clone of the standard java.io API for working with
files. Just password handling & opening the virtual disk are what stand
between developers and fully encrypted file storage. It is based on libsqlfs
and SQLCipher.)
文件列表:
.classpath (466, 2014-09-26)
.cproject (11773, 2014-09-26)
.project (2758, 2014-09-26)
AndroidManifest.xml (289, 2014-09-26)
LICENSE.txt (7651, 2014-09-26)
custom_rules.xml (4060, 2014-09-26)
external (0, 2014-09-26)
external\Makefile (713, 2014-09-26)
external\libs (0, 2014-09-26)
external\libs\armeabi-v7a (0, 2014-09-26)
external\libs\armeabi-v7a\libcrypto.so (826284, 2014-09-26)
external\libs\armeabi-v7a\libsqlcipher_android.so (2204224, 2014-09-26)
external\libs\armeabi (0, 2014-09-26)
external\libs\armeabi\libcrypto.so (649880, 2014-09-26)
external\libs\armeabi\libsqlcipher_android.so (2277928, 2014-09-26)
external\libs\x86 (0, 2014-09-26)
external\libs\x86\libcrypto.so (1617623, 2014-09-26)
external\libs\x86\libsqlcipher_android.so (3520252, 2014-09-26)
external\libsqlfs (0, 2014-09-26)
external\openssl (0, 2014-09-26)
external\sqlcipher (0, 2014-09-26)
jni (0, 2014-09-26)
jni\Android.mk (1809, 2014-09-26)
jni\Application.mk (411, 2014-09-26)
jni\JNIHelp.cpp (11897, 2014-09-26)
jni\JNIHelp.h (6547, 2014-09-26)
jni\JNI_OnLoad.cpp (1982, 2014-09-26)
jni\JniConstants.cpp (4202, 2014-09-26)
jni\JniConstants.h (2890, 2014-09-26)
jni\JniException.cpp (1800, 2014-09-26)
jni\JniException.h (952, 2014-09-26)
jni\LocalArray.h (2253, 2014-09-26)
jni\ScopedBytes.h (2480, 2014-09-26)
jni\ScopedLocalRef.h (1399, 2014-09-26)
jni\ScopedPrimitiveArray.h (4886, 2014-09-26)
jni\ScopedUtfChars.h (2019, 2014-09-26)
... ...
IOCipher: Encrypted Virtual Disk
--------------------------------
IOCipher is a virtual encrypted disk for apps without requiring the device to
be rooted. It uses a clone of the standard java.io API for working with
files. Just password handling & opening the virtual disk are what stand
between developers and fully encrypted file storage. It is based on libsqlfs
and SQLCipher.
If you are using this in your app, we'd love to hear about it! Please send us
an email at root@guardianproject.info
Getting Supporting Libraries
----------------------------
IOCipher is built upon SQLCipher, which is required in order to use this
library. You can get SQLCipher-for-Android here:
http://sqlcipher.net/open-source
For example, SQLCipher for Android v3.1.0 binary is available here:
https://s3.amazonaws.com/sqlcipher/SQLCipher+for+Android+v3.1.0.zip
And the signature is here:
https://s3.amazonaws.com/sqlcipher/SQLCipher+for+Android+v3.1.0.zip.sig
The releases should be signed by this key:
```
$ gpg --recv-keys D1FA3A2A97ED25C2
$ gpg --fingerprint support@zetetic.net
pub 4096R/97ED25C2 2014-04-22 [expires: 2017-04-21]
Key fingerprint = D83F 5F9E B811 D6E6 B4A0 D9C5 D1FA 3A2A 97ED 25C2
uid Zetetic LLC
sub 3072R/67FD0322 2014-04-22 [expires: 2015-04-22]
sub 3072R/D4DFEDA7 2014-04-22 [expires: 2015-04-22]
sub 3072R/B1C49DF6 2014-04-22 [expires: 2015-04-22]
```
Building
--------
This app relies on OpenSSL libcrypto, sqlcipher, and libsqlfs, which
are all "native" C code that needs to be built before working with the
Java. First, make sure you have the build prerequisites:
apt-get install tcl libtool automake autoconf gawk libssl-dev
Point `ant` to where your Android NDK is installed, either by setting
`ndk.dir` in your local.properties or setting the environment variable:
export ANDROID_NDK=/opt/android-ndk
Now build everything:
git clone https://github.com/guardianproject/IOCipher
git submodule update --init --recursive
android update lib-project --path .
ant clean debug
The iocipher.jar is in bin/. The shared library .so files are in libs/armeabi
and the libsqlfs.a static library is in external/libsqlfs/.libs/libsqlfs.a.
Building Native Bits for Eclipse
--------------------------------
If you are using Eclipse with this library, you can have the NDK parts built
as part of the Eclipse build process. You just need to set ANDROID_NDK in the
"String Substitution" section of your Eclipse's workspace preferences.
Otherwise, you can build the native bits from the Terminal using:
make -C external
ndk-build
License
-------
When taken as a whole, this project is under the the LGPLv3 license
since it is the only license that is compatible with the licenses of
all the components. The source code for this comes from a few
different places, so there are a number of licenses for different
chunks.
* Apache 2.0 (Android Internals): Much of the code here is taken from
the Android internals, so it has an Apache 2.0 license.
* OpenSSL License: It is linked to the OpenSSL that is provided with
Android, so it should be covered under Android's handling of the
advertisement clause.
* LGPL 2.1 (libsqlfs)
* BSD-style (sqlcipher)
Included shared library files
-----------------------------
In `external/libs` are some binary .so files, these are all binaries pulled
from other sources so that the C code can have something link against.
`libcrypto.so` comes from Android emulators. They are included here
so that the C code can link against openssl's libcrypto, which Android
includes but does not expose in the NDK. If you want to build this library
from source, then do this:
```
git clone https://github.com/guardianproject/openssl-android
cd openssl-android
ndk-build -j4
```
These shared libraries _must_ not be included in any real app. Android
provides `/system/lib/libcrypto.so` and you should get SQLCipher directly from
the source, listed above.
近期下载者:
相关文件:
收藏者: