Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-193

Support java.nio.ByteBuffer in DigestUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.11
    • None

    Description

      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.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            lmmworkv Michael Donaghy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: