MCPcopy Create free account
hub / github.com/M66B/FairEmail / sha1

Method sha1

app/src/main/java/eu/faircode/email/Helper.java:3262–3264  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

3260 }
3261
3262 static String sha1(byte[] data) throws NoSuchAlgorithmException {
3263 return sha("SHA-1", data);
3264 }
3265
3266 static String sha256(byte[] data) throws NoSuchAlgorithmException {
3267 return sha("SHA-256", data);

Callers 3

getFingerprintSha1Method · 0.95
getHashMethod · 0.95
checkMethod · 0.95

Calls 1

shaMethod · 0.95

Tested by

no test coverage detected