Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
MessageDigest.getInstance("SomeAlg") throws NoSuchAlgorithm exception (a checked exception). This is annoying as it causes everyone that uses standard algs like MD5 to surround their code in try/catch. We should concentrate the creation in one method that doesn't raise an exception (i.e. catches NoSuchAlgorithm and raises a RuntimeException) just to clean the code up a little.