Skip to content

Instantly share code, notes, and snippets.

@zxlooong
Created March 26, 2014 08:54
Show Gist options
  • Save zxlooong/9779104 to your computer and use it in GitHub Desktop.
Save zxlooong/9779104 to your computer and use it in GitHub Desktop.
bouncy castle
static {
if (Security.getProvider("BC") == null) {
Security.addProvider(new BouncyCastleProvider());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment