commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CODEC-195) Support SHA-224 in DigestUtils on Java 8
Date Wed, 18 May 2016 15:58:12 GMT

    [ https://issues.apache.org/jira/browse/CODEC-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289195#comment-15289195
] 

Gary Gregory commented on CODEC-195:
------------------------------------

Agreed to avoid proliferation of algo methods.

But...

The OO way is to say MessageDigestAlgorithms.SHA_224.digest(data).

I had it coded that way IIRC, I'm not sure why you nuked it from the repo...

> Support SHA-224 in DigestUtils on Java 8
> ----------------------------------------
>
>                 Key: CODEC-195
>                 URL: https://issues.apache.org/jira/browse/CODEC-195
>             Project: Commons Codec
>          Issue Type: New Feature
>    Affects Versions: 1.11
>         Environment: Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T16:58:10-04:00)
> Maven home: C:\Java\apache-maven-3.2.3
> Java version: 1.7.0_71, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_71\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary Gregory
>             Fix For: 1.11
>
>
> Support SHA-224 in DigestUtils on Java 8.
> The new APIs throw IllegalArgumentException on Java versions prior to Java 8.



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

Mime
View raw message