Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

一路向北 zhangchunsheng

View GitHub Profile
@zhangchunsheng
zhangchunsheng / gist:c7cc5f8a2ecec1619d5bc7c9dd689c66
Created Apr 20, 2018 — forked from davidnunez/gist:1404789
list all installed packages in android adb shell
@zhangchunsheng
zhangchunsheng / encryption.java
Created Feb 9, 2018 — forked from itarato/encryption.java
Java AES CBC encryption example
View encryption.java
package com.company;
import javax.crypto.Cipher;
import javax.crypto.Mac;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.security.MessageDigest;
import java.security.SecureRandom;
public class Main {
You can’t perform that action at this time.