Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rocqua
on May 14, 2018
|
parent
|
context
|
favorite
| on:
EFail – Vulnerabilities in end-to-end encryption t...
If the message is too large to buffer, one might also first just decrypt and stream the plaintext into sha-1.
Once the MDC clears, you can just decrypt again, this time writing to stdout.
tedunangst
on May 14, 2018
[–]
This is difficult if the input is a nonseekable stream, but that doesn't excuse producing bad output.
tptacek
on May 14, 2018
|
parent
[–]
That's why I didn't suggest it, but to be fair, you could tee the stream into an intermediate file for a two-pass scheme.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Once the MDC clears, you can just decrypt again, this time writing to stdout.