You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…orrectly calculated)
The `fs` library is already included and it looks like it works better than `grunt.file`.
With files bigger than few kilobytes the hash is calculated in the right way.
It looks like `grunt.file.read` either does not read the file correctly or not in full.
This change solves Issue sebdeckers#30
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:
options: {algorithm: md5, length: 32}
):9e494b97b63d7e67833df32376b4bb2b
cat scripts.min.js | openssl md5
:36cd285cd1271348628d496c3735b179
The text was updated successfully, but these errors were encountered: