/ Published in: Groovy

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
