Documentation
    Preparing search index...

    Function sha256Hex

    • SHA-256 of a UTF-8 string as lowercase hex. Pure TypeScript so the mock can evaluate the NAP's normative fold fixture without a crypto dependency.

      Parameters

      • input: string

        Text to hash.

      Returns string

      64-character lowercase hex digest.

      sha256Hex('') === 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';