[CryptoAPI] Validating an MD5 Checksum
Forge component by Ricardo Silva
Published on 03 Mar 2019
Application Type
Traditional Web

Hi All,

I am trying to validate that a file we are being sent matches a checksum that is also being provided.  The checksum has been calculated by running the command prompt "certutil -hashfile {filename} MD5" and this provides me with a 32 character string.  

Is there a function inbuilt in this component that allows me to run across the file and receive a code to be matched to validate that the file hasnt been tampered with?  

I have tried the "ComputeHash" function passing my file binary in (converted from BinaryDataToText) and "MD5" in the Algorithm but doesnt seem to match.

Any advise would be great


Rank: #506

Hi Daniel,

With powershell component you can validate any file directly on the server with certutil.

Sample: https://cesar-mateus.outsystemscloud.com/WebAppsTests/MD5Checksum

Component: Powershell Commander