Changed PBKDF2WithHmacSHA256 to PBKDF2WithHmacSHA1
so it will work with Java 7.