public static MessageDigest newMessageDigest() {try {return MessageDigest.getInstance(LONG_HASH_FUNCTION);} catch (NoSuchAlgorithmException nsae) {throw new RuntimeException(MessageFormat.format(LfsText.get().requiredHashFunctionNotAvailable,LONG_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);}}