commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CODEC-193) Support java.nio.ByteBuffer in DigestUtils
Date Wed, 18 May 2016 14:08:12 GMT

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

Sebb resolved CODEC-193.
------------------------
    Resolution: Fixed


URL: http://svn.apache.org/viewvc?rev=1744411&view=rev
Log:
CODEC-193 Support java.nio.ByteBuffer in DigestUtils
Drop algo-specific methods in favour of generic ones

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java


> Support java.nio.ByteBuffer in DigestUtils
> ------------------------------------------
>
>                 Key: CODEC-193
>                 URL: https://issues.apache.org/jira/browse/CODEC-193
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Michael Donaghy
>            Assignee: Gary Gregory
>            Priority: Minor
>             Fix For: 1.11
>
>
> The underlying {{MessageDigest}} API provides an {{update(ByteBuffer)}} method. It would
be great to have support for this in {{DigestUtils}} so I can call e.g. {{md5Hex(ByteBuffer)}},
as it is surprisingly hard to treat a {{ByteBuffer}} as e.g. an {{InputStream}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message