DIGEST
The DIGEST function converts the input data to its digest form according to the algorithm selected.
Input/Output
Number of Connections: 1
| Input | Data Type | Description |
| Input1 | Binary,String | The data to convert. |
| Output | Data Type | Description |
| Output1 | String | Converts the input data according to the algorithm selected, and creates the digest string. Outputs the digest in as a Hex(16bit) string. |
Property
| Name | Property Type | Description |
| Algorithm | choice | Defines the digest algorithm used to convert the data.
| SHA-1 | - |
SHA-1 algorithm
|
| MD5 | - |
MD5 algorithm
|
|
| Encoding | choice | If the input is a String, this property specifies the type of encoding used to interpret it.
| utf-8 [utf-8]
| - |
Unicode utf-8
|
| shift_jis [shift_jis]
| - |
Shift JIS
|
| euc-jp [euc-jp]
| - |
EUC-JP
|
| iso-2022-jp [iso-2022-jp]
| - |
ISO-2022-JP
|
| utf-16 [utf-16]
| - |
Unicode utf-16
|
|
| OutputType | choice | Specifies the output type.
| String | - |
outputs String formatted data
|
| Binary | - |
outputs Binary formatted data
|
|
Example
| Property | Output |
| Input 1 | Infoteria | Algorithm | SHA-1 | b020ca0127f72e7024b8eb412958ff3fc08d87a5 |
| | Encoding | utf-8 | |
| | OutputType | String | |