mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 04:20:11 -07:00
Back to old name
This commit is contained in:
parent
8930f236a0
commit
8b64eb8abc
4 changed files with 5 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -939,6 +939,8 @@ public class MainActivity extends Activity implements OnTouchListener, OnClickLi
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void fixRSAPadding() throws Exception {
|
||||
// welcome to the territory of YOLO; I'll be your tour guide for today.
|
||||
|
||||
|
|
@ -950,13 +952,13 @@ public class MainActivity extends Activity implements OnTouchListener, OnClickLi
|
|||
if (true) { // android.os.Build.VERSION.SDK_INT >= 23) { // Marshmallow
|
||||
// FUUUUU I DON'T KNOW FIXME
|
||||
Cipher rsaPkcs1Cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");
|
||||
Cipher.getInstance("RSA", rsaPkcs1Cipher.getProvider());
|
||||
// Cipher.getInstance("RSA", rsaPkcs1Cipher.getProvider());
|
||||
|
||||
Cipher newRSACipher = Cipher.getInstance("RSA");
|
||||
|
||||
Field fieldPKCS1 = Provider.class.getDeclaredField("serviceMap");
|
||||
fieldPKCS1.setAccessible(true);
|
||||
Map /* <Provider.ServerKey, Provider.Service> */ mapPKCS1 = (Map) fieldPKCS1.get(newRSACipher.getProvider());
|
||||
Map /* <Provider.ServerKey, Provider.Service> */ mapPKCS1 = (Map) fieldPKCS1.get(rsaPkcs1Cipher.getProvider());
|
||||
|
||||
Field fieldRSA = Provider.class.getDeclaredField("serviceMap");
|
||||
fieldRSA.setAccessible(true);
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
android:background="@drawable/control_button"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="⬆"
|
||||
android:text="GUI"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:layout_marginLeft="14dp"
|
||||
android:layout_gravity="bottom"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue