You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/05/15 18:32:12 UTC

[jira] [Reopened] (CODEC-206) Add java.io.File APIs to DigestUtils

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

Gary Gregory reopened CODEC-206:
--------------------------------

Now that we have an enum, I'm having doubts about adding these methods.

We could get rid of these by addding "ex" versions of the APIs on the enum.

We could then also deprecate the other methods...

Thoughts?

> Add java.io.File APIs to DigestUtils
> ------------------------------------
>
>                 Key: CODEC-206
>                 URL: https://issues.apache.org/jira/browse/CODEC-206
>             Project: Commons Codec
>          Issue Type: New Feature
>    Affects Versions: 1.10
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
> Maven home: E:\Java\apache-maven-3.3.9\bin\..
> Java version: 1.7.0_79, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_79\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 1.11
>
>
> Add java.io.File APIs to DigestUtils.
> - md2(File)
> - md2Hex(File)
> - md5(File)
> - md5Hex(File)
> - sha1(File)
> - sha1Hex(File)
> - sha224(File)
> - sha224Hex(File)
> - sha256(File)
> - sha256Hex(File)
> - sha384(File)
> - sha384Hex(File)
> - sha512(File)
> - sha512Hex(File)
> - updateDigest(MessageDigest, File)



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