Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Utility → Generate Hash

AI-generated

Overview

This node operation generates a hash from a given input string. It is useful for scenarios where you need to securely transform or verify data, such as creating checksums, password hashing, or data integrity verification. For example, you can input a password or any sensitive string and get its hashed representation for secure storage or comparison.

Use Case Examples

  1. Hashing a password before saving it to a database.
  2. Generating a checksum for a file or string to verify integrity.
  3. Creating a unique identifier from a string input.

Properties

Name Meaning
String The input string that will be hashed. This is a required field where the user provides the text to be transformed into a hash.

Output

JSON

  • hash - The resulting hashed string output from the input string.

Troubleshooting

  • Ensure the input string is not empty as hashing an empty string may produce unexpected results.
  • Verify that the hashing algorithm used (if configurable) is supported and correctly implemented.

Discussion