首页 » Andorid » 临时分类 » 正文

JealousSky

JealousSky

Platform MinSDK Language License Bintray Maven-Central Android Arsenal

Encryption/Decryption Library for Android

JealousSky is an efficient library to encrypt and decrypt data for Android.

With JealousSky is possible to decrypt simple String or even image files as return a Bitmap.

The project is still in progress and any contribuition is accepted.

At the moment Jealous Sky support AES 128bit encryption.

Download

You can download a jar from GitHub's releases page.

Or use Gradle:

repositories {
    jcenter()
    mavenCentral()
}

dependencies {
    compile 'com.github.cirorizzo:jealoussky:0.3'
}

Or Maven:


    com.github.cirorizzo
    jealoussky
    0.3

How do I use JealousSky?

Checkout the GitHub wiki for pages on a variety of topics.

Simple use cases will look something like this:

// For a image file decryption:

    JealousSky jealousSky = JealousSky.getInstance();

    jealousSky.initialize(
                    "longestPasswordEverCreatedInAllTheUniverseOrMore",
                    "FFD7BADF2FBB1999");

    InputStream isEncrypted = new FileInputStream(new File(epic_fail_image.png.enc));

    ImageView imageViewDecrypted = (ImageView) findViewById(R.id.imageView);

    // Decrypting the InputStream
    imageViewDecrypted.setImageBitmap(jealousSky.decryptToBitmap(isEncrypted));

    // Or Decrypting from the Assests
    imageViewDecrypted.setImageBitmap(jealousSky.decryptToBitmap(getAssets().open("spider-symbol.png.enc")));

Android SDK Version

JealousSky requires a minimum SDK version of 16.

License

GNU General Public License 3.0. See the LICENSE file for details.

Status

[Version 0.2] is a stable public pre-release library. Comments/bugs/questions/pull requests welcome!

Getting Help

To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else, join or email JealousSky's discussion group

Author

Ciro Rizzo - @JackRix

下载 (0)

发表评论