This commit is contained in:
Daniel Gultsch 2015-04-25 14:42:32 +02:00
parent 77caf73103
commit 82daf849aa
1 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,9 @@ public final class CryptoHelper {
}
public static String prettifyFingerprint(String fingerprint) {
if (fingerprint.length() < 40) {
return fingerprint;
}
StringBuilder builder = new StringBuilder(fingerprint);
builder.insert(8, " ");
builder.insert(17, " ");