Issue Details (XML | Word | Printable)

Key: CODEC-39
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jamie Flournoy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Codec

[codec] Add methods for SHA-256, SHA-384, and SHA-512 to DigestUtils

Created: 24/Mar/05 01:35 PM   Updated: 27/Oct/07 06:49 AM
Return to search
Component/s: None
Affects Version/s: 1.3
Fix Version/s: 1.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File diff.out 2005-03-24 01:38 PM Jamie Flournoy 9 kB
Environment:
Operating System: All
Platform: All

Bugzilla Id: 34157


 Description  « Hide
Since there's a lot of talk about a possible/probable weakness in SHA-1, lots of
folks (myself included) would like to switch to something stronger. DigestUtils
currently only provides convenience methods for SHA-1. So, DigestUtils should be
extended to provide SHA-256, -384, and -512 hashes.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jamie Flournoy added a comment - 24/Mar/05 01:38 PM
Created an attachment (id=14553)
Implementation of this enhancement

This is an implementation of this enhancement, including test cases based on
the samples that are in the FIPS 180-2 spec.


Gary Gregory added a comment - 15/Apr/05 05:27 AM
Patch applied and tweaked. Thank you Jamie. Should be in the next nightly-build
here: http://cvs.apache.org/builds/jakarta-commons/nightly/commons-codec/