Skip to content

cirorizzo/JealousSky

Repository files navigation

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:

<dependency>
    <groupId>com.github.cirorizzo</groupId>
    <artifactId>jealoussky</artifactId>
    <version>0.3</version>
</dependency>

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

About

Encryption/Decryption Library for Android

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages