[GH-ISSUE #39] Suggestion: add FileHash function comparable to Get-FileHash from PowerShell #37

Closed
opened 2026-02-25 21:32:31 +03:00 by kerem · 7 comments
Owner

Originally created by @unquietwiki on GitHub (May 31, 2018).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/39

This functionality is useful in projects such as maintaining content found on https://chocolatey.org/packages

Originally created by @unquietwiki on GitHub (May 31, 2018). Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/39 - https://github.com/okdshin/PicoSHA2 is an MIT-licensed C++ component, that may be useful to accomplish a SHA-256 file hash. - https://msdn.microsoft.com/en-us/library/system.security.cryptography(v=vs.110).aspx Microsoft has SHA-256 / 384 / 512 functions in its libraries. This functionality is useful in projects such as maintaining content found on https://chocolatey.org/packages
kerem 2026-02-25 21:32:31 +03:00
Author
Owner

@clechasseur commented on GitHub (Jun 3, 2018):

I'll keep this as a possible enhancement, but this is a bit specific, I think. Still, interesting idea.

<!-- gh-comment-id:394126276 --> @clechasseur commented on GitHub (Jun 3, 2018): I'll keep this as a possible enhancement, but this is a bit specific, I think. Still, interesting idea.
Author
Owner

@unquietwiki commented on GitHub (Jun 3, 2018):

@clechasseur There's some other tool out there that I found, that has similar functionality; but I believe required a paid license. It has also been standard practice for years to "compare the file hash" of downloaded content, if you're paranoid about security; so there is definitely a use case here. I'm strung between some C# and JS projects, else I'd pitch in myself on this.

<!-- gh-comment-id:394126930 --> @unquietwiki commented on GitHub (Jun 3, 2018): @clechasseur There's some other tool out there that I found, that has similar functionality; but I believe required a paid license. It has also been standard practice for years to "compare the file hash" of downloaded content, if you're paranoid about security; so there is definitely a use case here. I'm strung between some C# and JS projects, else I'd pitch in myself on this.
Author
Owner

@penCsharpener commented on GitHub (Jun 3, 2018):

7zip installs a context menu entry that provides this if I'm not mistaken

<!-- gh-comment-id:394139057 --> @penCsharpener commented on GitHub (Jun 3, 2018): 7zip installs a context menu entry that provides this if I'm not mistaken
Author
Owner

@unquietwiki commented on GitHub (Jun 4, 2018):

@penCsharpener (checks) Yeah, there is a CRC-SHA menu context option on systems that have 7-zip correctly installed. The context menu seems to be really hit or miss on when I load it onto systems. :/

<!-- gh-comment-id:394507958 --> @unquietwiki commented on GitHub (Jun 4, 2018): @penCsharpener (checks) Yeah, there is a CRC-SHA menu context option on systems that have 7-zip correctly installed. The context menu seems to be really hit or miss on when I load it onto systems. :/
Author
Owner

@TekBear commented on GitHub (Aug 11, 2018):

I use file menu in total commander software as it has a create file checksum feature. Given you can add custom commands to pathcopycopy you could use a general command line tool that takes checksum method (CRC32,MD5,SHA1/256/512) and file name as command line arguments. You might like to look at a script that uses: certutil.exe (I think it is only found on win 7 or higher); or powershell cmdlet . I have not found any tools that run on older windows.

<!-- gh-comment-id:412256657 --> @TekBear commented on GitHub (Aug 11, 2018): I use file menu in total commander software as it has a create file checksum feature. Given you can add custom commands to pathcopycopy you could use a general command line tool that takes checksum method (CRC32,MD5,SHA1/256/512) and file name as command line arguments. You might like to look at a script that uses: certutil.exe (I think it is only found on win 7 or higher); or [powershell cmdlet]( https://www.nextofwindows.com/5-ways-to-generate-and-verify-md5-sha-checksum-of-any-file-in-windows-10) . I have not found any tools that run on older windows.
Author
Owner

@blackcrack commented on GitHub (Aug 11, 2018):

http://implbits.com/products/hashtab/
is a snapin as a dll file directly on the explorer, right Mouse, Property's and one of the tab ;)
Pathcopy it's the wrong place for it ;)

best regards
Blacky

<!-- gh-comment-id:412290517 --> @blackcrack commented on GitHub (Aug 11, 2018): http://implbits.com/products/hashtab/ is a snapin as a dll file directly on the explorer, right Mouse, Property's and one of the tab ;) Pathcopy it's the wrong place for it ;) best regards Blacky
Author
Owner

@clechasseur commented on GitHub (Nov 19, 2018):

I think there are other options out there… I myself use the 7-zip menu and it seems to work fine. I'll close this.

<!-- gh-comment-id:439754232 --> @clechasseur commented on GitHub (Nov 19, 2018): I think there are other options out there… I myself use the 7-zip menu and it seems to work fine. I'll close this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pathcopycopy#37
No description provided.