/ Published in: Groovy
![](/img/icon_sav.png?v3)
Generating MD5 HEX string from either URL or File instance in Groovy (more elegant than the Java version).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import java.security.MessageDigest file.withInputStream(){is-> digest.update(buffer, 0, read); } } }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)