On 08/01/2014 06:06 AM, Florian Weimer wrote:
I noticed that the implementation of DigestInputStream does not feed skipped-over bytes to the message digest. The specification is silent on this, and I'm not sure if this a specification deficiency or an implementation bug.
Yes, this is a known issue, see https://bugs.openjdk.java.net/browse/JDK-6587699
--Sean