diff --git a/aesjni/src/main/cpp/checksignature.h b/aesjni/src/main/cpp/checksignature.h index 60b1898..fd24b78 100644 --- a/aesjni/src/main/cpp/checksignature.h +++ b/aesjni/src/main/cpp/checksignature.h @@ -11,7 +11,9 @@ //合法的APP包名 static const char *app_packageName = "com.androidyuan.aesjniencrypt"; -//合法的hashcode -625644214:这个值是我生成的这个可以store文件的hash值 + +//this value is generated by com.androidyuan.aesjni.SignatureTool.java. +//-625644214 is hash of keystore file. static const int app_signature_hash_code = -625644214; /** diff --git a/aesjni/src/main/java/com/androidyuan/aesjni/SignatureTool.java b/aesjni/src/main/java/com/androidyuan/aesjni/SignatureTool.java index f59caf2..547409e 100644 --- a/aesjni/src/main/java/com/androidyuan/aesjni/SignatureTool.java +++ b/aesjni/src/main/java/com/androidyuan/aesjni/SignatureTool.java @@ -7,6 +7,8 @@ /** * Created by wei on 16-12-4. + * Please use this class to read hash of the current apk signature file, and then copy the hash to checksignature.h; + * 请您使用这个类读取当前apk签名文件的hash值,然后拷贝hash写入到checksignature.h; */ public class SignatureTool {