Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
singpolyma opened this issue Apr 25, 2018 · 0 comments
Open

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

singpolyma opened this issue Apr 25, 2018 · 0 comments

Comments

@singpolyma
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant