Actions40
- AI Actions
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Generate Actions
- Operator Actions
- PDF Actions
- Storage Actions
Crypto → Hash a Text
AI-generatedOverview
The Crypto - Hash a Text operation in this n8n node allows you to generate cryptographic hashes of text messages using a variety of hashing algorithms, including both standard and HMAC variants. This is useful for securely storing passwords, verifying data integrity, or generating digital signatures. For example, you might use this node to hash user passwords before saving them to a database, or to create a checksum for files or messages.
Properties
| Name | Meaning |
|---|---|
| Message | The text message you want to hash. This is the input string that will be processed by the selected hash algorithm. |
| Secret Key | The secret key used for HMAC-based hash types (e.g., HmacSHA256). For non-HMAC hash types, this may still be required by the node but is not used in the computation. |
| Hash Type | The hashing algorithm to use. Options: MD5, SHA1, SHA3, SHA224, SHA256, SHA384, SHA512, RIPEMD160, HmacMD5, HmacSHA1, HmacSHA224, HmacSHA256, HmacSHA384, HmacSHA512, HmacRIPEMD160, HmacSHA3 |
Output
The output is a JSON object containing the result of the hash operation. The structure typically includes:
{
"hash": "<hashed_value>"
}
hash: The resulting hash string generated from the input message and selected hash type.
Note: The exact field name may vary depending on the API response, but it will contain the computed hash value.
Dependencies
- External Service: Requires access to the CodeKit API (as indicated by the need for
codeKitApicredentials). - n8n Configuration: You must set up the
codeKitApicredential in your n8n instance with the appropriate API key or authentication details.
Troubleshooting
Missing or Invalid Credentials:
Error: "No credentials found" or authentication errors.
Resolution: Ensure that thecodeKitApicredential is properly configured in n8n.Unsupported Hash Type:
Error: "Invalid hashType" or similar.
Resolution: Make sure you select one of the supported hash types listed in the options.Empty Message or Secret Key:
Error: "Message is required" or "Secret Key is required".
Resolution: Provide values for all required fields.API Errors:
Error: Any error returned from the external service will be included in the output if "Continue On Fail" is enabled; otherwise, the workflow will stop.
Resolution: Check the error message for details and verify your input parameters.