public static MessageDigest newMessageDigest() {try {return MessageDigest.getInstance(HASH_FUNCTION);} catch (NoSuchAlgorithmException nsae) {throw new RuntimeException(MessageFormat.format(JGitText.get().requiredHashFunctionNotAvailable, HASH_FUNCTION), nsae);}}

public static MessageDigest NewMessageDigest(){try{return MessageDigest.GetInstance(HASH_FUNCTION);}catch (NoSuchAlgorithmException nsae){throw new RuntimeException(MessageFormat.Format(JGitText.Get().requiredHashFunctionNotAvailable, HASH_FUNCTION), nsae);}}
