Check a Hash Value from an Attached File

Based on my post about generating hash values with the Invoke Code activity, I have developed an activity that makes it easy to check hash values. Only the file name, the hash value and optionally the algorithm must be specified. As a result, a boolean value is returned whether the hash value matches (True) or not (False).

image

image

Allowed hash algorithms are SHA256, SHA384, SHA512 and MD5, SHA512 is the default.

image

A further approach to check the integrity of a file used in the context of an automation workflow at runtime.

CheckHashValue.1.0.0.nupkg (11.8 KB)

This package contains libraries for all compatiblity modes: Windows - Legacy, Windows and Cross-plattform.

1 Like