Secure Compare

security · A337 · starter-package 7.0.1

Compares secrets in timing-safe fashion.

Use

Compare signatures, verification codes, or secret-derived values without using an ordinary early-exit string equality check.

What the block does

This block performs the check or encryption action on this computer.

Inputs

  • left — Left value: text; required; maximum 32768; default none.
  • right — Right value: text; required; maximum 32768; default none.
  • encoding — Encoding: text; options utf8, base64url, base64, hex; default utf8.

Outputs

  • matched — Matched: boolean; checked before the workflow continues.
  • fire — Fire: is true after successful execution.

Settings

Connected input takes precedence over the corresponding saved setting.

IDSettingControlDefaultBounds/options
encodingEncodingselectutf8options utf8, base64url, base64, hex

Error handling

  • Invalid input stops before the operation and names the affected setting.
  • Invalid keys, encodings, encrypted data, and tokens are clearly distinguished from missing connected output.