{
  "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.",
  "type" : "scalar",
  "name" : "sha1",
  "description" : "Computes the SHA1 hash of the input.",
  "signatures" : [
    {
      "params" : [
        {
          "name" : "input",
          "type" : "keyword",
          "optional" : false,
          "description" : "Input to hash."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    },
    {
      "params" : [
        {
          "name" : "input",
          "type" : "text",
          "optional" : false,
          "description" : "Input to hash."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    }
  ],
  "examples" : [
    "FROM sample_data\n| WHERE message != \"Connection error\"\n| EVAL sha1 = sha1(message)\n| KEEP message, sha1"
  ],
  "preview" : false,
  "snapshot_only" : false
}
