gpt4 book ai didi

getting java.security.NoSuchAlgorithmException: MD4 MessageDigest not available for java 17(GETGING java.security.NoSuch算法异常:MD4 MessageDigest在Java 17中不可用)

转载 作者:bug小助手 更新时间:2023-10-28 20:31:06 27 4
gpt4 key购买 nike



I'm facing the exception java.security.NoSuchAlgorithmException: MD4 MessageDigest not available.

我面临的异常是java.security.NoSuch算法异常:MD4MessageDigest不可用。


I'm using the library in java 17 and gradle - implementation group: 'com.hierynomus', name: 'smbj', version: '0.9.1'

我使用的是java 17和gradle中的库-实现组:“com. hierynomus”,名称:“smbj”,版本:“0.9.1”


Any suggestions or guidance is appreciated.

如有任何建议或指导,我们不胜感激。


更多回答
优秀答案推荐

This is a bug in smjb; see https://github.com/hierynomus/smbj/issues/425. According to the issue updates, a fix has been committed and is included in smbj release 0.12.2.

这是SMJB中的一个错误;请参阅https://github.com/hierynomus/smbj/issues/425.根据问题更新,修复程序已提交,并包含在smbj版本0.12.2中。


Solution: upgrade your dependency.

解决方案:升级你的依赖。


(FWIW, 0.9.1 is nearly 5 years out of date ... at the time of writing this.)

(FWIW,0.9.1几乎过时了5年...在写这篇文章时。)




For those (like me) whose initial reaction was "but MD4 is insecure", there are a few protocols where MD4 is still used. SMB appears to be one of them.

对于那些最初的反应是“但MD4是不安全的”的人(像我),有一些协议仍然使用MD4。中小企业似乎就是其中之一。


更多回答

Thanks, changed dependency to 0.12.0 instead of 0.12.2. along with this i also updated few more deps. its working.

谢谢,将依赖项从0.12.2更改为0.12.0。与此同时,我还更新了几个副手。它起作用了。

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com