Skip to main content
Skip table of contents

Digest Calculator

This adapter generates or calculates the hash code (RSA, MD5 etc.) of the input data.

Properties

Operation

Determines which operation the adapter executes

Possible values: Calculate: Calculate hash code

Parameters

Adapter

Main class of the adapter (do not change!)

Possible values: en.softproject.integration.adapter.digest.DigestAdapter: Main class (default)

algorithm

Algorithm used to calculate the hash code

Possible values:

  • MD5: Use Message Digest 5 algorithm (default)

  • SHA: Use Secure Hash (0) algorithm

  • SHA-1: Use Secure Hash 1 algorithm

  • SHA-256: Use Secure Hash 256 algorithm
  • CRC: Use Cyclic Redundancy Check algorithm

  • ADLER: Use Adler algorithm

Status values

1The operation was executed successfully.
-1The operation failed due to a technical error.

Output

This adapter outputs a UTF-8-encoded XML document containing the algorithm used and the calculated hash code:

HTML/XML
<digest type="Algorithm"><!--Hash code of the input data--></digest> 

For example, the adapter outputs the following XML document:

HTML/XML
<digest type="MD5">2e5941901e8b5e214dcc5032dfce71bb</digest> 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.