Calculates either MD5 or SHA1 hash value of a file and stores the value as a hex string in a property and generates a checksum file.
Other popular algorithms
like "crc32" or "sha512" may be used with help of the algorithm
attribute.
Table C.10: Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file | String | Filename | n/a | Yes |
hashtype | Integer | Specifies what hash algorithm to use. 0=MD5, 1=SHA1 | 0 | No |
algorithm | String | Specifies what hash algorithm to use. Supported algorithms. | n/a | No |
propertyname | String | Name of property where the hash value is stored. | filehashvalue | No |