Skip to content

Instantly share code, notes, and snippets.

Cristian Perez cprcrack

Block or report user

Report or block cprcrack

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aegis123
aegis123 / rules.pro
Created Dec 15, 2014
ProGuard and DexGuard rules
View rules.pro
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontpreverify
-verbose
#your package path where your gson models are stored
-keep class com.project.models.** { *; }
@tauzen
tauzen / hexstring.js
Last active Sep 5, 2019
Hex string to byte and other way round conversion functions.
View hexstring.js
function byteToHexString(uint8arr) {
if (!uint8arr) {
return '';
}
var hexStr = '';
for (var i = 0; i < uint8arr.length; i++) {
var hex = (uint8arr[i] & 0xff).toString(16);
hex = (hex.length === 1) ? '0' + hex : hex;
hexStr += hex;
View openssl list-cipher-algorithms
AES-128-CBC
AES-128-CFB
AES-128-CFB1
AES-128-CFB8
AES-128-CTR
AES-128-ECB
AES-128-OFB
AES-128-XTS
AES-192-CBC
AES-192-CFB
@remelpugh
remelpugh / AccountUtils.java
Created Nov 14, 2012 — forked from imminent/AccountUtils.java
Utility to retrieve user profile on Android device
View AccountUtils.java
/**
* A collection of authentication and account connection utilities. With strong inspiration from the Google IO session
* app.
* @author Dandré Allison
*/
public class AccountUtils {
/**
* Interface for interacting with the result of {@link AccountUtils#getUserProfile}.
*/
You can’t perform that action at this time.