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

Method hex

app/src/main/java/eu/faircode/email/Helper.java:3290–3295  ·  view source on GitHub ↗
(byte[] bytes)

Source from the content-addressed store, hash-verified

3288 }
3289
3290 static String hex(byte[] bytes) {
3291 StringBuilder sb = new StringBuilder();
3292 for (byte b : bytes)
3293 sb.append(String.format("%02x", b));
3294 return sb.toString();
3295 }
3296
3297 static String getFingerprint(Context context) {
3298 return getFingerprint(context, "SHA1");

Callers 5

uploadMethod · 0.95
getKeyIdMethod · 0.95
_callMethod · 0.95
shaMethod · 0.95
getHashMethod · 0.95

Calls 3

appendMethod · 0.45
formatMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected