A short and clean way of computing MD5 in Java

There are multiple articles (01, 02, 03, 04) talking about how to compute MD5 in Java and some of them have some gotchas regarding the length of the result. Here is a small code snippet that works OOTB:


3 Responses to “A short and clean way of computing MD5 in Java”

Leave a Reply