mirror of
https://github.com/wanxf-shuto/CordovaReadApplicationSignature.git
synced 2024-10-06 07:42:19 +08:00
Update ReadAppSignature.java
This commit is contained in:
parent
a5f7800baa
commit
b12247b366
@ -67,8 +67,6 @@ public class ReadAppSignature extends CordovaPlugin {
|
|||||||
digest = MessageDigest.getInstance("SHA1");
|
digest = MessageDigest.getInstance("SHA1");
|
||||||
} catch (NoSuchAlgorithmException e) {
|
} catch (NoSuchAlgorithmException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
} catch (NoSuchProviderException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
}
|
||||||
digest.update(sig);
|
digest.update(sig);
|
||||||
byte[] hashtext = digest.digest();
|
byte[] hashtext = digest.digest();
|
||||||
|
Loading…
Reference in New Issue
Block a user