Skip to content

Commit ddf4ba4

Browse files
committed
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1552818 13f79535-47bb-0310-9956-ffa450edef68
1 parent ff8ad6d commit ddf4ba4

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

src/main/java/org/apache/commons/codec/digest/Md5Crypt.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public class Md5Crypt {
6262
/**
6363
* See {@link #apr1Crypt(String, String)} for details.
6464
*
65+
* @param keyBytes
66+
* plaintext string to hash.
6567
* @throws RuntimeException
6668
* when a {@link java.security.NoSuchAlgorithmException} is caught. *
6769
*/
@@ -72,6 +74,8 @@ public static String apr1Crypt(final byte[] keyBytes) {
7274
/**
7375
* See {@link #apr1Crypt(String, String)} for details.
7476
*
77+
* @param keyBytes
78+
* plaintext string to hash.
7579
* @throws IllegalArgumentException
7680
* if the salt does not match the allowed pattern
7781
* @throws RuntimeException
@@ -88,6 +92,8 @@ public static String apr1Crypt(final byte[] keyBytes, String salt) {
8892
/**
8993
* See {@link #apr1Crypt(String, String)} for details.
9094
*
95+
* @param keyBytes
96+
* plaintext string to hash.
9197
* @throws RuntimeException
9298
* when a {@link java.security.NoSuchAlgorithmException} is caught.
9399
*/
@@ -102,7 +108,7 @@ public static String apr1Crypt(final String keyBytes) {
102108
* prefix.
103109
*
104110
* @param keyBytes
105-
* plaintext string that should be hashed.
111+
* plaintext string to hash.
106112
* @param salt
107113
* salt string including the prefix and optionally garbage at the end. Will be generated randomly if
108114
* null.
@@ -121,6 +127,8 @@ public static String apr1Crypt(final String keyBytes, final String salt) {
121127
* <p>
122128
* See {@link Crypt#crypt(String, String)} for details.
123129
*
130+
* @param keyBytes
131+
* plaintext string to hash.
124132
* @throws RuntimeException
125133
* when a {@link java.security.NoSuchAlgorithmException} is caught.
126134
*/
@@ -134,7 +142,7 @@ public static String md5Crypt(final byte[] keyBytes) {
134142
* See {@link Crypt#crypt(String, String)} for details.
135143
*
136144
* @param keyBytes
137-
* plaintext string that should be hashed.
145+
* plaintext string to hash.
138146
* @param salt
139147
* salt string including the prefix and optionally garbage at the end. Will be generated randomly if
140148
* null.
@@ -153,6 +161,8 @@ public static String md5Crypt(final byte[] keyBytes, final String salt) {
153161
* <p>
154162
* See {@link Crypt#crypt(String, String)} or {@link #apr1Crypt(String, String)} for details.
155163
*
164+
* @param keyBytes
165+
* plaintext string to hash.
156166
* @throws IllegalArgumentException
157167
* if the salt does not match the allowed pattern
158168
* @throws RuntimeException

0 commit comments

Comments
 (0)