Support using SHA-256 with HashContext

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • QE 2026-06-22, QE 2026-07-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently have computeHmacWithContext to reuse context across hmac computations. As part of SPM-4740, we will need to compute multiple hashes within the same context. The current method computeHash allocates and deallocates a new EVP_MD_CTX for each operation. As a performance optimization, we will implement a HashContext class and a computeHashWithContext method with support for SHA-256 to support reusing the context across these hash computations.

            Assignee:
            Elise Zhu
            Reporter:
            Elise Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: