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

Method sha256

app/src/main/java/eu/faircode/email/Helper.java:3258–3260  ·  view source on GitHub ↗
(String data)

Source from the content-addressed store, hash-verified

3256 // Cryptography
3257
3258 static String sha256(String data) throws NoSuchAlgorithmException {
3259 return sha256(data.getBytes());
3260 }
3261
3262 static String sha1(byte[] data) throws NoSuchAlgorithmException {
3263 return sha("SHA-1", data);

Callers 10

onBackupMethod · 0.95
getFingerprintSha256Method · 0.95
getChallengeMethod · 0.95
getResponseMethod · 0.95
getChallengeMethod · 0.95
getResponseMethod · 0.95
getChallengeMethod · 0.95
getResponseMethod · 0.95
getChallengeMethod · 0.95
getResponseMethod · 0.95

Calls 2

shaMethod · 0.95
getBytesMethod · 0.45

Tested by

no test coverage detected