From f430eebb583501a3a932b554eeb1f447142f8e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=A4=A7=E5=BE=B7?= Date: Tue, 24 Oct 2023 22:16:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=AA=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/android/com/cescit/integrity/BaseIntegrity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/android/com/cescit/integrity/BaseIntegrity.java b/src/android/com/cescit/integrity/BaseIntegrity.java index 31734b3..ac3fd5b 100644 --- a/src/android/com/cescit/integrity/BaseIntegrity.java +++ b/src/android/com/cescit/integrity/BaseIntegrity.java @@ -86,6 +86,7 @@ class BaseIntegrity { Signature[] signatures = packageInfo.signatures; Signature sign = signatures[0]; byte[] signByte = sign.toByteArray(); + System.err.println("sing hash: "+ getHash(signByte)); nowHashList.put("apk", getHash(signByte)); } catch (PackageManager.NameNotFoundException | IOException | NoSuchAlgorithmException e) { }