Daniel Cassidy created CODEC-168:
------------------------------------
Summary: Patch: Add DigestUtils.updateDigest(MessageDigest,
InputStream)
Key: CODEC-168
URL: https://issues.apache.org/jira/browse/CODEC-168
Project: Commons Codec
Issue Type: Improvement
Reporter: Daniel Cassidy
Priority: Minor
Attachments: update-digest-from-stream.patch
The attached patch provides an overload for {{DigestUtils.updateDigest()}} that
reads input data from an {{InputStream}}.
This brings {{updateDigest()}} into line with the other utility methods
provided by {{DigestUtils}}, which provide overloads that accept input data as
each of {{byte[]}}, {{String}}, and {{InputStream}}.
The existing test cases provide full coverage for my changes, so I haven’t
added any tests.
You can apply the change by applying the attached patch or by pulling from this
branch on GitHub:
https://github.com/djcsdy/commons-codec/tree/update-digest-from-stream
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira