Open itnok opened 9 years ago
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
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