Skip to content

Crypto Helper

The Crypto Helper allows you to use cryptographic functions.

Categories: Helpers

Type: cryptoHelper/v1


Actions

Hash

Name: hash

Computes and returns the hash of the input.

Properties

NameLabelTypeDescriptionRequired
algorithmCryptographic AlgorithmSTRING
Options MD5, SHA-1, SHA-256
The cryptographic algorithm that will be used to hash the input.true
inputInputSTRINGCalculates the hash of the provided input.true

Example JSON Structure

{
"label" : "Hash",
"name" : "hash",
"parameters" : {
"algorithm" : "",
"input" : ""
},
"type" : "cryptoHelper/v1/hash"
}

Output

Type: STRING

Hmac

Name: hmac

Computes and returns the HMAC of the input.

Properties

NameLabelTypeDescriptionRequired
algorithmCryptographic AlgorithmSTRING
Options HmacMD5, HmacSHA1, HmacSHA256
The cryptographic algorithm that will be used to hash the input.true
inputInputSTRINGGenerates a cryptographic HMAC for the provided input.true
keyKeySTRINGKey that will be used for the encryption.true

Example JSON Structure

{
"label" : "Hmac",
"name" : "hmac",
"parameters" : {
"algorithm" : "",
"input" : "",
"key" : ""
},
"type" : "cryptoHelper/v1/hmac"
}

Output

Type: STRING


Additional instructions