The method of obtaining the value sha1 apk

Android applications use a signed certificate (.keystore or .jks file) signature, signature certificates can be generated by jdk. After generating a certificate, the certificate will have its sha1 value.

Use this Android application after the certificate package, which also has the same value sha1, md5 and sha256 value value.

There are two ways to get the command line sha1 value.

1, to decompress apk, there .RSA types of files in the META-INF directory, then use the following command to get sha1 values:

keytool -printcert -file CERT.RSA

 

2, use the following command to get the signed certificate (.keystore or .jks file) value of sha1

keytool -list -v -keystore D:\my.keystore -storepass 111111

 Inside the command password 111111 for the certificate of

 

Of course, there's an easier access to sha1 worth method is to use online tools, online or upload .keystore apk file, you can get its value sha1

https://www.yunedit.com/sha1

 

 

 

Guess you like

Origin www.cnblogs.com/handsome0916/p/11094856.html