Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
jtsk_2.1
-
None
-
6325665
Description
Bugtraq ID 6325665
The example use of the ComputeDigest tool in the class javadoc uses 'sha' as an example algorithm when the default algorithm is later specified to be 'sha1'. My understanding is that sha and sha1 are the same (they certainly produce the same digest). Perhaps it would be better for the example to use a non-sha algorithm (or at least a non-sha1 algorithm since that is the default).
Consistenly using "sha1" should be satisfactory.