Skip to main content

Hash Component

Compute hashes of strings using common hash functions

Component key: hash

Description

The Hash component allows you to compute the hash of a string using a variety of common hash functions (MD5, SHA256, etc).

Triggers

HMAC Webhook Trigger

Validate a payload using an HMAC hash function | key: hmacWebhookTrigger


Actions

Compute BLAKE2b512 Hash

Compute the BLAKE2b512 hash of a string | key: computeblake2b512

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute BLAKE2s256 Hash

Compute the BLAKE2s256 hash of a string | key: computeblake2s256

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute Hash

Compute the hash of a string using a hash function | key: computeHash

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute HMAC Hash

Compute an HMAC hash given a message, secret and hash function | key: computeHmac

If you plan to send webhook requests to a third-party from Prismatic, you can use the Compute HMAC Hash action to compute the HMAC hash of a given string using a secret key.

Output Example Payload

{
"data": {
"hex": "<hex encoded hmac value>",
"base64": "<base64 encoded hmac value>",
"byteArray": {
"type": "Buffer",
"data": [
60,
98,
121,
116,
101,
32,
97,
114,
114,
97,
121,
32,
104,
109,
97,
99,
32,
118,
97,
108,
117,
101,
62
]
}
}
}

Compute MD4 Hash

Compute the MD4 hash of a string | key: computemd4

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute MD5 Hash

Compute the MD5 hash of a string | key: computemd5

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute MD5-SHA1 Hash

Compute the MD5-SHA1 hash of a string | key: computemd5-sha1

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute RIPEMD160 Hash

Compute the RIPEMD160 hash of a string | key: computeripemd160

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA1 Hash

Compute the SHA1 hash of a string | key: computesha1

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA224 Hash

Compute the SHA224 hash of a string | key: computesha224

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA256 Hash

Compute the SHA256 hash of a string | key: computesha256

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA3-224 Hash

Compute the SHA3-224 hash of a string | key: computesha3-224

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA3-256 Hash

Compute the SHA3-256 hash of a string | key: computesha3-256

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA3-384 Hash

Compute the SHA3-384 hash of a string | key: computesha3-384

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA3-512 Hash

Compute the SHA3-512 hash of a string | key: computesha3-512

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA384 Hash

Compute the SHA384 hash of a string | key: computesha384

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA512 Hash

Compute the SHA512 hash of a string | key: computesha512

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA512-224 Hash

Compute the SHA512-224 hash of a string | key: computesha512-224

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SHA512-256 Hash

Compute the SHA512-256 hash of a string | key: computesha512-256

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute SM3 Hash

Compute the SM3 hash of a string | key: computesm3

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}

Compute whirlpool Hash

Compute the whirlpool hash of a string | key: computewhirlpool

Output Example Payload

{
"data": {
"hex": "<hex encoded hash value>",
"base64": "<base64 encoded hash value>"
}
}