Fix message for exception

This commit is contained in:
Philippus Baalman
2019-08-23 00:29:27 +02:00
committed by GitHub
parent 72a108f960
commit ad54ac6f5e

View File

@@ -65,7 +65,7 @@ public class UUIDGenerator {
try {
md = MessageDigest.getInstance("SHA-1");
} catch (NoSuchAlgorithmException nsae) {
throw new InternalError("MD5 not supported", nsae);
throw new InternalError("SHA-1 not supported", nsae);
}
byte[] bytes = Arrays.copyOfRange(md.digest(name), 0, 16);
bytes[6] &= 0x0f; /* clear version */