Skip to content

Instantly share code, notes, and snippets.

@itsbriany
Last active November 28, 2019 01:18
Show Gist options
  • Save itsbriany/ae4e000a01a8fcf5b6de7cff99de1570 to your computer and use it in GitHub Desktop.
Save itsbriany/ae4e000a01a8fcf5b6de7cff99de1570 to your computer and use it in GitHub Desktop.
Flare-on 2019 dance with flag
public final void danceWithFlag() {
final InputStream openRawResource = this.getResources().openRawResource(2131427328);
Intrinsics.checkExpressionValueIsNotNull(openRawResource, "ecstaticEnc");
final byte[] bytes = ByteStreamsKt.readBytes(openRawResource);
final InputStream openRawResource2 = this.getResources().openRawResource(2131427329);
Intrinsics.checkExpressionValueIsNotNull(openRawResource2, "ecstaticEnc2");
final byte[] bytes2 = ByteStreamsKt.readBytes(openRawResource2);
final String password = this.getPassword();
try {
final byte[] decrypt = this.decrypt(password, bytes);
final byte[] decrypt2 = this.decrypt(password, bytes2);
this.dance((Drawable)new BitmapDrawable(this.getResources(), BitmapFactory.decodeByteArray(decrypt, 0, decrypt.length)), (Drawable)new BitmapDrawable(this.getResources(), BitmapFactory.decodeByteArray(decrypt2, 0, decrypt2.length)));
}
catch (Exception ex) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment