/ Published in: Groovy
Groovy fileToMd5
Expand |
Embed | Plain Text
aFile.withInputStream{ inpStream -> int read = 0; digest.update(buffer, 0, read); } } }
Comments
Subscribe to comments
You need to login to post a comment.
Groovy fileToMd5
aFile.withInputStream{ inpStream -> int read = 0; digest.update(buffer, 0, read); } } }
Subscribe to comments
You need to login to post a comment.
The reference made to instance MD5 is Direct or Indirect?