Get checksum for file
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Get checksum for file

  • Dark
    Light
  • PDF

Article Summary

Gets a checksum for the target file with the given algorithm.

Input arguments

LabelKeyTypeRequired?DefaultDescription
File pathpathString(local-filesystem-reference)YesAbsolute local filesystem path to the target file to get checksum for.
AlgorithmalgorithmStringYessha256Algorithm to calculate the checksum with.

Output arguments

Number of outputs: 2

LabelKeyTypeDescription
ChecksumchecksumStringChecksum of the file as calculated by the selected algorithm.

Events

No events.

Errors

LabelCodeDescription
File not foundfileNotFoundThrown if the target file could not be found.

Was this article helpful?