Bcryptjs icon

Bcryptjs

Perform password hashing and verification using bcryptjs

Hash Password

AI-generated

Summary

Hash a given password asynchronously using bcryptjs, applying either a provided salt string or a number of rounds to generate the hash.

Inputs

  • Password (required) — The password string to hash.
  • Salt or Rounds — A salt string value or a numeric string representing the number of hashing rounds to apply.
  • Rounds — The cost factor (number of rounds) used during hashing; defaults to 10 if not specified as 'Salt or Rounds'.
  • Options — Optional settings including the output field name where the resulting hash will be stored.

Output shape

a list of items JSON objects each including all original fields plus the resulting hash stored in the specified output field

Processes all input items and returns corresponding items with the hash result added in the configured output field name, defaulting to 'result'.

Examples

Example 1: Hash password 'mypassword' with 12 rounds

Set 'Password' to 'mypassword', set 'Salt or Rounds' to '12', and optionally set 'Options.Output Field Name' to desired field name.

Links

Discussion