_2019_:: february:: _03_
pub const _03_: ()
::getInstance(String)needs an algorithm name, and thows
java.security.NoSuchAlgorithmExceptionif one is not supported. Ok, fine.
The docs says:
Every implementation of the Java platform is required to support the following standard MessageDigest algorithms:
Now that is called dogshit engineering.
Why? If they state that thing, they should make some methods which throw-no-exceptions. Otherwise the API is plain-old-stupid.