Contact Free trial Login

General Operations

This page details Operations from the Cryptography module that are independent of the encryption strategy used.

Calculate Checksum

<crypto:calculate-checksum>

Calculate the checksum of the stream.

Parameters

Name Type Description Default Value Required

Algorithm

Enumeration, one of:

  • CRC32

  • MD2

  • MD5

  • SHA_1

  • SHA_256

  • SHA_512

the checksum algorithm

SHA_256

 

Content

Binary

The content for calculating the checksum

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Target Value

String

An expression that will be evaluated against the operation's output and the outcome of that expression will be stored in the target variable

#[payload]

 

Output Type

String

Throws

  • CRYPTO:CHECKSUM  

Validate Checksum

<crypto:validate-checksum>

Validate the checksum of the stream against an expected checksum.

Parameters

Name Type Description Default Value Required

Algorithm

Enumeration, one of:

  • CRC32

  • MD2

  • MD5

  • SHA_1

  • SHA_256

  • SHA_512

The checksum algorithm

SHA_256

 

Value

Binary

The content for calculating the checksum

#[payload]

 

Expected

String

The expected checksum as an hexadecimal string

x 

Throws

  • CRYPTO:MISSING_KEY  

  • CRYPTO:VALIDATION  

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.