Bcryptjs icon

Bcryptjs

Perform password hashing and verification using bcryptjs

Test Truncation

AI-generated

Summary

Test whether a given password will be truncated by the bcryptjs implementation.

Inputs

  • Password (required) — The password string to test for truncation by bcryptjs.
  • Options — Optional settings, including the output field name where the result (a boolean) will be stored in the output item; defaults to 'result'.

Output shape

a list of JSON items, each including the original input fields plus an additional boolean field (default 'result') indicating whether the password is truncated

The output field name can be customized via the Options parameter. The result value is a boolean returned from bcryptjs.truncates function. If multiple input items are provided, results are returned in the same order as inputs.

Links

Discussion