Skip to content

Right way to hash a stream and still have it? #61

Open
@singpolyma

Description

@singpolyma

I want to compute the HMAC of an InputStream and then give that HMAC as a header in an HTTP request and the stream as the body. Is this even possible? inputFoldM seems promising, but I cannot get the seed value before the stream has been consumed by sending the body (which I need because I need it as a header).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions