Skip to content

Commit

Permalink
Upper-case
Browse files Browse the repository at this point in the history
  • Loading branch information
Darker935 committed Jun 17, 2024
1 parent c614bea commit 2c43c6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private static String randomWebKeyId(Jid jid) {
byte[] hash = digest.digest(buffer.array());
byte[] truncatedHash = new byte[9];
System.arraycopy(hash, 0, truncatedHash, 0, 9);
return "3EB0" + HexFormat.of().formatHex(truncatedHash);
return "3EB0" + HexFormat.of().formatHex(truncatedHash).toUpperCase();
} catch (NoSuchAlgorithmException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 2c43c6d

Please sign in to comment.