0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Crypto → Hash Text

AI-generated

Overview

The node provides cryptographic hashing utilities, allowing users to generate hash digests of text messages using various algorithms. It supports both standard hash functions (like SHA256, MD5) and HMAC variants that require a secret key. This node is useful for data integrity verification, password hashing, message authentication, or any scenario where you need a fixed-size fingerprint of input data.

Practical examples:

  • Creating a SHA256 hash of a user password before storing it.
  • Generating an HMAC-SHA512 signature for API request validation.
  • Producing a MD5 checksum to verify file contents.

Properties

Name Meaning
Message The text message to be hashed.
Secret Key Secret key used for HMAC hashing. Leave empty if not using an HMAC algorithm.
Hash Algorithm The hash algorithm to use. Options include: MD5, SHA1, SHA3, SHA224, SHA256, SHA384, SHA512, RIPEMD160, and their HMAC variants (e.g., HmacSHA256).

Output

The output contains a JSON field with the resulting hash string of the input message according to the selected algorithm. If an HMAC variant is chosen, the hash is computed using the provided secret key.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating requests to the external 0CodeKit service at https://prod.0codekit.com.
  • The node sends a POST request to /crypto/hash endpoint with parameters: message, secretKey, and hashType.

Troubleshooting

  • Empty or missing message: The node requires a non-empty message string; ensure this property is set.
  • Secret key required for HMAC: When selecting an HMAC algorithm, provide a valid secret key; otherwise, the hash will fail or produce incorrect results.
  • Unsupported hash type: Only the listed hash algorithms are supported; selecting an unsupported one may cause errors.
  • API authentication errors: Ensure the API key credential is correctly configured and has access to the 0CodeKit service.
  • Network issues: Connectivity problems to the external API endpoint can cause execution failures.

Links and References

Discussion