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
If file at file_path contains ASCII, the hash is correct. However, binary files get wrong hash.
Could you add support for this case? (as far as I understand, in this case node.js returns data in raw encoding, so sha1() could read it properly). Alternatively, add sha1_file()?
The text was updated successfully, but these errors were encountered:
If file at
file_path
contains ASCII, the hash is correct. However, binary files get wrong hash.Could you add support for this case? (as far as I understand, in this case node.js returns data in
raw
encoding, sosha1()
could read it properly). Alternatively, addsha1_file()
?The text was updated successfully, but these errors were encountered: