stasis-proxy - v0.1.0
    Preparing search index...

    Function generateCacheKey

    • Generates a SHA-256 cache key from the normalized request body and headers.

      The hash includes:

      • Normalized (sorted) JSON body
      • Authorization header (to prevent data leakage between API keys)

      Parameters

      • config: HashConfig

        The hash configuration

      Returns string

      A hex-encoded SHA-256 hash string