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

Method getCloudUser

app/src/main/java/eu/faircode/email/CloudSync.java:621–623  ·  view source on GitHub ↗
(String user)

Source from the content-addressed store, hash-verified

619 }
620
621 static String getCloudUser(String user) throws NoSuchAlgorithmException {
622 return getCloudUser(getSalt(user));
623 }
624
625 private static String getCloudUser(byte[] salt) throws NoSuchAlgorithmException {
626 byte[] huser = MessageDigest.getInstance("SHA256").digest(salt);

Callers 2

_callMethod · 0.95
onCloudActivateMethod · 0.95

Calls 3

getSaltMethod · 0.95
digestMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected