mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-07 04:41:12 +01:00
Pad long KeyIDs with zeros to 16 chars
This commit is contained in:
parent
9ac681d88c
commit
41dfe71994
2 changed files with 42 additions and 1 deletions
|
|
@ -32,6 +32,6 @@ public final class KeyIdUtil {
|
|||
}
|
||||
|
||||
public static String formatKeyId(long keyId) {
|
||||
return Long.toHexString(keyId).toUpperCase();
|
||||
return String.format("%016X", keyId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue