Computes the SHA-256 cryptographic hash of a string, returning a lowercase 64-character hexadecimal digest.
sha256(str: string) -> string
Returns the documented result for the function signature.
redis "cache_query" { connection = connection.redis.cache command = "SET" key = "cache:query:${sha256(json_encode(ctx.request.body))}" value = json_encode(steps.db_query.result) ttl = "15m" }