Generate Salt
AI-generatedSummary
Generate a bcrypt salt asynchronously using a specified number of rounds and minor version to influence the salt format.
Inputs
- Rounds — The cost factor for processing the salt, controlling complexity and time. Defaults to 10 if not set.
- Minor Version — The minor bcrypt version to apply when generating the salt; can be 'a' or 'b', defaulting to 'b'.
- Options.Output Field Name — Customizes the field name in the output JSON where the generated salt string will be stored; defaults to 'result'.
Output shape
A list of items each containing JSON with the generated salt string stored under the specified output field name.
Processes each input item individually, generating a salt per item using the provided parameters. Errors in generation stop the node execution with an appropriate error message.
Examples
Example 1: Generate a salt with default settings
Set operation to 'Generate Salt', leave Rounds at default 10, Minor Version at default 'b'. Result stored in field 'result'. Outputs JSON containing the generated salt.