Skip to content

Instantly share code, notes, and snippets.

@SoftwareJock
SoftwareJock / AndroidDecrypter.java
Last active July 8, 2016 20:51 — forked from scotttam/Decrypter.java
Android Encryption/Decryption Functions with PBKDF2/SHA1 & AES & Persistent Initialization Vector Storage in Shared Preferences
/*
* Android Encryption/Decryption Functions with PBKDF2/SHA1 & AES & Persistent Initialization Vector Storage in Shared Preferences
*
* The encryption initialization vector is stored in the Shared Preferences area so the decrypt function below can be used to decrypt
* data that was encrypted by a previous instance of an app using the encrypt function below.
*
* September 10 2014
*
*/