fred icon indicating copy to clipboard operation
fred copied to clipboard

Simplify MultiHashInputStream and MultiHashOutputStream

Open bertm opened this issue 11 months ago • 0 comments

Simplify MultiHashInputStream and MultiHashOutputStream by extracting their common multi-digest hashing code into a separate class.

Additionally, ensure that MultiHashInputStream does not advertise or implement mark/reset support (default delegated to the underlying InputStream by FilterInputStream), as this could lead to digesting the same bytes multiple times.

bertm avatar May 10 '25 20:05 bertm