garydgregory commented on a change in pull request #44:
URL: https://github.com/apache/commons-codec/pull/44#discussion_r541346067
##########
File path: src/main/java/org/apache/commons/codec/digest/DigestUtils.java
##########
@@ -192,6 +192,7 @@ public static MessageDigest getDigest(final String
algorithm) {
*/
public static MessageDigest getDigest(final String algorithm, final
MessageDigest defaultMessageDigest) {
try {
+ /** potential insecure algorithm (MD2, MD5, SHA1, SHA256) called
here */
Review comment:
@YYTVicky
This would better done in the method Javadoc for the algorithm param.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]