grunt-rev
grunt-rev copied to clipboard
Hash is wrong if the file is "big"
On "big" files (I am having this problem on a Js file just slightly bigger than 1MB) the calculated hash is definitely wrong.
With smaller files no problem though. Is it possible that if a file is big enough only a chunk of the file is used?
On my file, for example, these are the results:
- Using grunt-rev (
options: {algorithm: md5, length: 32}):9e494b97b63d7e67833df32376b4bb2b - Using
cat scripts.min.js | openssl md5:36cd285cd1271348628d496c3735b179