Skip to content

$hash

Computes a hash of the input value.

Options

  • input (required) The value to hash.
  • algorithm (optional) The hash algorithm to use: MD5, SHA1, SHA256, HASHCODE (default: MD5).

Example

{
    "hash": { "$hash": "abc" }
}
{
    "hash": 572197704
}