You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I specify the jvm parameters -XX:+EnableCRIUSupport, the following code
MessageDigest.getInstance("MD5");
reports error:
Caused by: java.security.NoSuchAlgorithmException: MD5 MessageDigest not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) ~[?:?]
at java.security.MessageDigest.getInstance(MessageDigest.java:185) ~[?:?]
at java.util.UUID.nameUUIDFromBytes(UUID.java:171) ~[?:?]
... 21 more
and then I test following code snippet:
System.out.println("加载所有支持的算法");
for (Provider provider : Security.getProviders()) {
System.out.println("Provider: " + provider.getName());
for (Provider.Service service : provider.getServices()) {
System.out.println(" Algorithm: " + service.getAlgorithm());
}
}
when i specify the following jvm parameters:
-XX:+EnableCRIUSupport
the output is:
when i remove the jvm parameters, the output is:
so, how to use these algorithms such as md5 with jvm parameter -XX:+EnableCRIUSupport ?
thanks
The text was updated successfully, but these errors were encountered:
If I specify the jvm parameters
-XX:+EnableCRIUSupport
, the following codereports error:
and then I test following code snippet:
when i specify the following jvm parameters:
the output is:
when i remove the jvm parameters, the output is:
so, how to use these algorithms such as
md5
with jvm parameter-XX:+EnableCRIUSupport
?thanks
The text was updated successfully, but these errors were encountered: