Author: ggregory Date: Fri Dec 20 22:07:51 2013 New Revision: 1552821 URL: http://svn.apache.org/r1552821 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=1552821&r1=1552820&r2=1552821&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:07:51 2013 @@ -64,6 +64,7 @@ public class Md5Crypt { * * @param keyBytes * plaintext string to hash. + * @return the hash value * @throws RuntimeException * when a {@link java.security.NoSuchAlgorithmException} is caught. * */ @@ -76,6 +77,7 @@ public class Md5Crypt { * * @param keyBytes * plaintext string to hash. + * @return the hash value * @throws IllegalArgumentException * if the salt does not match the allowed pattern * @throws RuntimeException @@ -94,6 +96,7 @@ public class Md5Crypt { * * @param keyBytes * plaintext string to hash. + * @return the hash value * @throws RuntimeException * when a {@link java.security.NoSuchAlgorithmException} is caught. */ @@ -112,7 +115,7 @@ public class Md5Crypt { * @param salt * salt string including the prefix and optionally garbage at the end. Will be generated randomly if * null. - * @return computed hash value + * @return the hash value * @throws IllegalArgumentException * if the salt does not match the allowed pattern * @throws RuntimeException @@ -129,6 +132,7 @@ public class Md5Crypt { * * @param keyBytes * plaintext string to hash. + * @return the hash value * @throws RuntimeException * when a {@link java.security.NoSuchAlgorithmException} is caught. */ @@ -146,7 +150,7 @@ public class Md5Crypt { * @param salt * salt string including the prefix and optionally garbage at the end. Will be generated randomly if * null. - * @return computed hash value + * @return the hash value * @throws IllegalArgumentException * if the salt does not match the allowed pattern * @throws RuntimeException @@ -160,9 +164,10 @@ public class Md5Crypt { * Generates a libc6 crypt() "$1$" or Apache htpasswd "$apr1$" hash value. * <p> * See {@link Crypt#crypt(String, String)} or {@link #apr1Crypt(String, String)} for details. - * + * * @param keyBytes * plaintext string to hash. + * @return the hash value * @throws IllegalArgumentException * if the salt does not match the allowed pattern * @throws RuntimeException