You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/12/20 23:06:06 UTC
svn commit: r1552818 -
/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
Author: ggregory
Date: Fri Dec 20 22:06:06 2013
New Revision: 1552818
URL: http://svn.apache.org/r1552818
Log:
Javadoc.
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java?rev=1552818&r1=1552817&r2=1552818&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java Fri Dec 20 22:06:06 2013
@@ -62,6 +62,8 @@ public class Md5Crypt {
/**
* See {@link #apr1Crypt(String, String)} for details.
*
+ * @param keyBytes
+ * plaintext string to hash.
* @throws RuntimeException
* when a {@link java.security.NoSuchAlgorithmException} is caught. *
*/
@@ -72,6 +74,8 @@ public class Md5Crypt {
/**
* See {@link #apr1Crypt(String, String)} for details.
*
+ * @param keyBytes
+ * plaintext string to hash.
* @throws IllegalArgumentException
* if the salt does not match the allowed pattern
* @throws RuntimeException
@@ -88,6 +92,8 @@ public class Md5Crypt {
/**
* See {@link #apr1Crypt(String, String)} for details.
*
+ * @param keyBytes
+ * plaintext string to hash.
* @throws RuntimeException
* when a {@link java.security.NoSuchAlgorithmException} is caught.
*/
@@ -102,7 +108,7 @@ public class Md5Crypt {
* prefix.
*
* @param keyBytes
- * plaintext string that should be hashed.
+ * plaintext string to hash.
* @param salt
* salt string including the prefix and optionally garbage at the end. Will be generated randomly if
* null.
@@ -121,6 +127,8 @@ public class Md5Crypt {
* <p>
* See {@link Crypt#crypt(String, String)} for details.
*
+ * @param keyBytes
+ * plaintext string to hash.
* @throws RuntimeException
* when a {@link java.security.NoSuchAlgorithmException} is caught.
*/
@@ -134,7 +142,7 @@ public class Md5Crypt {
* See {@link Crypt#crypt(String, String)} for details.
*
* @param keyBytes
- * plaintext string that should be hashed.
+ * plaintext string to hash.
* @param salt
* salt string including the prefix and optionally garbage at the end. Will be generated randomly if
* null.
@@ -153,6 +161,8 @@ public class Md5Crypt {
* <p>
* See {@link Crypt#crypt(String, String)} or {@link #apr1Crypt(String, String)} for details.
*
+ * @param keyBytes
+ * plaintext string to hash.
* @throws IllegalArgumentException
* if the salt does not match the allowed pattern
* @throws RuntimeException