Notices: This section not yet converted to new layout. Download stats are rolling back out.



Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator alexinslc on 12/5/2015.

ReHash is an easy-to-use console-based hash calculation tool written in C++. It supports many algorithms and output formats and it can be fully configured using some of the many command-line arguments which can be passed to the tool.

The tool is compilable under Windows and Linux.

It supports many algorithms, for example Adler32, CRC-16, CRC-16-CCITT, CRC-16-XMODEM, CRC-32, ELF-32, FCS-16, FCS-32, FNV-32, FNV-64, GHash-32-3, GHash-32-5, GOST-Hash, HAVAL (3/4/5, 256), MD2, MD4, MD5, SHA-1, SHA-256, SHA-384, SHA-512, Size64, Tiger, XUM32. For a full list see the ReHash documentation manual (included in downloadable package).

It is possible to compute the HMACs of all algorithms.

The tool can output the hashes in various formats like plain text, HTML, XML and CSV.

ReHash can be fully configured using some of the many command-line arguments which can be passed to the tool. You can selectively activate/disable hash algorithms and set scanning options like scanning subdirectories recursively and excluding/including files using advanced file pattern matching.


Source code:

To install ReHash, run the following command from the command line or from PowerShell:

C:\> choco install rehash

To upgrade ReHash, run the following command from the command line or from PowerShell:

C:\> choco upgrade rehash


  • tools\chocolateyInstall.ps1 Show
    # generated vars
    $packageName = 'rehash'
    $url = ''
    $checksum = '53b32ee2abea382e48eca7ac7fe02088498869b1'
    # static vars
    $checksumType = 'sha1'
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    # $Env:ChocolateyInstall\helpers\functions
    Install-ChocolateyZipPackage -PackageName "$packageName" `
                                 -Url "$url" `
                                 -Url64bit "" `
                                 -UnzipLocation "$toolsDir" `
                                 -Checksum "$checksum" `
                                 -ChecksumType "$checksumType"
    # create empty sidecar so shimgen creates shim for GUI rather than console
    $installFile = Join-Path -Path $toolsDir `
                             -ChildPath "rehash.exe.gui"
    Set-Content -Path $installFile `
                -Value $null

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Dominik Reichl


© 2003 Dominik Reichl


Release Notes

Known issues

Version History

Version Downloads Last updated Status

Discussion for the ReHash Package

Ground rules:

  • This discussion is only about ReHash and the ReHash package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ReHash, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.