Skip to content

Instantly share code, notes, and snippets.

@SoftwareJock
SoftwareJock / PlayingCards.java
Created November 9, 2014 20:47
Java code for Deck of Cards
/**
*
* Deck of Cards Problem.
*
* November 7, 2014
*
* @author Edward J. Joyce
*/
import java.util.Random;
@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
*
*/