You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Cassidy (JIRA)" <ji...@apache.org> on 2013/02/24 05:48:13 UTC

[jira] [Updated] (CODEC-168) Patch: Add DigestUtils.updateDigest(MessageDigest, InputStream)

     [ https://issues.apache.org/jira/browse/CODEC-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Cassidy updated CODEC-168:
---------------------------------

    Attachment: update-digest-from-stream.patch
    
> 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