/n software Connectors for MuleSoft

Questions / Feedback?

Hash Module

Properties   Configuration Settings  

The Hash Transformer can be used to calculate a hash value.

Remarks

The Hash Module contains an encoder that receives Mule Messages from the Mule Project and calculates a hash value.

Hash Encode Module

The Hash Encode operation allows you to compute a hash using various algorithms. To use the Hash Module, simply select an Algorithm. The module will compute a hash over the data in the incoming message payload at runtime.

If using an HMAC algorithm, you will also need to set the Key property to the secret key for the hash computation.

To hex encode the hash value set EncodeHash to True.

File Example

Add a File Read connector in front of the Hash Encode Module and configure it to read a particular target file. Select an Algorithm for the Encode operation. That is all that is required to hash the file. The calculated hash is written to the message payload.

String Example

Add a Set Payload Transformer in front of the Hash Encode Module and set the message payload to a string. Select an Algorithm for the Encode operation. That is all that is required to hash the string. The calculated hash is written to the message payload.

Encoder Property List


The following is the full list of the properties of the encoder module with short descriptions. Click on the links for further details.

AlgorithmThe algorithm used to create the hash.
EncodeHashWhether the hash value is hex encoded.
KeyThe secret key for the hash algorithm.
OtherDefines a set of configuration settings to be used by the transformer.
RuntimeLicenseSpecifies the connector runtime license key.

Configuration Settings


The following is a list of configuration settings for the module with short descriptions. Click on the links for further details.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
/n software Connectors for MuleSoft - Version 20.0 [Build 7722]