Hash
Calculates hash of a file.
Command name:
hash
Inputs:
Name | Type | Optional/Required | Description |
|---|---|---|---|
file | string | required | The path to the input file. |
algorithm | string | required | Hash algorithm. |
description | string | optional | Description for this field. |
Outputs:
Name | Type | Optional/Required | Description |
|---|---|---|---|
file | string | required | Output binary or text file. |
format | string | required | Format of the output file. Available values: , . Default: . |
description | string | optional | Description for this field. |
Example:
{
"schema-version": 1.0,
"content": [
{
"name": "hash command example",
"description": "Calculates hash of a file",
"enabled": true,
"commands": [
{
"command": "hash",
"inputs": [
{
"description": "Calculate hash of binary file",
"file": "output.bin",
"algorithm": "SHA256"
}
],
"outputs": [
{
"description": "Output binary or text file",
"file": "hash.txt",
"format": "txt"
}
]
}
]
}
]
}