Rob van der Woude's Scripting Pages

Help text for StringHash.cs

(view help text of StringHash.cs as plain text)

StringHash.exe,  Version 1.01
Get the MD5 or SHA* hash value for the specified string

Usage:  STRINGHASH.EXE  /A:hashAlgorithm  /S:"string"

   or:  some_command  |  STRINGHASH.EXE  /A:hashAlgorithm

Where:  hashAlgorithm  is either MD5, SHA1, SHA256, SHA384 or SHA512
        string         must be enclosed in doublequotes if it contains
                       spaces or special characters
        some_command   console program whose output serves as the string

Note:   Return code ("ErrorLevel") -1 in case of errors, otherwise 0.

Written by Rob van der Woude

page last uploaded: 2022-10-05