Skip to content

Commit 4888518

Browse files
committed
Javadoc
1 parent a230916 commit 4888518

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static byte[] digest(final MessageDigest messageDigest, final RandomAcces
155155
}
156156

157157
/**
158-
* Returns a {@code MessageDigest} for the given {@code algorithm}.
158+
* Gets a {@code MessageDigest} for the given {@code algorithm}.
159159
*
160160
* @param algorithm
161161
* the name of the algorithm requested. See <a
@@ -176,7 +176,7 @@ public static MessageDigest getDigest(final String algorithm) {
176176
}
177177

178178
/**
179-
* Returns a {@code MessageDigest} for the given {@code algorithm} or a default if there is a problem
179+
* Gets a {@code MessageDigest} for the given {@code algorithm} or a default if there is a problem
180180
* getting the algorithm.
181181
*
182182
* @param algorithm
@@ -201,7 +201,7 @@ public static MessageDigest getDigest(final String algorithm, final MessageDiges
201201
}
202202

203203
/**
204-
* Returns an MD2 MessageDigest.
204+
* Gets an MD2 MessageDigest.
205205
*
206206
* @return An MD2 digest instance.
207207
* @throws IllegalArgumentException
@@ -215,7 +215,7 @@ public static MessageDigest getMd2Digest() {
215215
}
216216

217217
/**
218-
* Returns an MD5 MessageDigest.
218+
* Gets an MD5 MessageDigest.
219219
*
220220
* @return An MD5 digest instance.
221221
* @throws IllegalArgumentException
@@ -228,7 +228,7 @@ public static MessageDigest getMd5Digest() {
228228
}
229229

230230
/**
231-
* Returns a {@code MessageDigest} for the given {@code algorithm}.
231+
* Gets a {@code MessageDigest} for the given {@code algorithm}.
232232
*
233233
* @param algorithm the name of the algorithm requested. See
234234
* <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" > Appendix A in the Java
@@ -242,7 +242,7 @@ private static MessageDigest getMessageDigest(final String algorithm) throws NoS
242242
}
243243

244244
/**
245-
* Returns an SHA-1 digest.
245+
* Gets an SHA-1 digest.
246246
*
247247
* @return An SHA-1 digest instance.
248248
* @throws IllegalArgumentException
@@ -256,7 +256,7 @@ public static MessageDigest getSha1Digest() {
256256
}
257257

258258
/**
259-
* Returns an SHA-256 digest.
259+
* Gets an SHA-256 digest.
260260
*
261261
* @return An SHA-256 digest instance.
262262
* @throws IllegalArgumentException
@@ -269,7 +269,7 @@ public static MessageDigest getSha256Digest() {
269269
}
270270

271271
/**
272-
* Returns an SHA3-224 digest.
272+
* Gets an SHA3-224 digest.
273273
*
274274
* @return An SHA3-224 digest instance.
275275
* @throws IllegalArgumentException
@@ -297,7 +297,7 @@ public static MessageDigest getSha3_256Digest() {
297297
}
298298

299299
/**
300-
* Returns an SHA3-384 digest.
300+
* Gets an SHA3-384 digest.
301301
*
302302
* @return An SHA3-384 digest instance.
303303
* @throws IllegalArgumentException
@@ -311,7 +311,7 @@ public static MessageDigest getSha3_384Digest() {
311311
}
312312

313313
/**
314-
* Returns an SHA3-512 digest.
314+
* Gets an SHA3-512 digest.
315315
*
316316
* @return An SHA3-512 digest instance.
317317
* @throws IllegalArgumentException
@@ -325,7 +325,7 @@ public static MessageDigest getSha3_512Digest() {
325325
}
326326

327327
/**
328-
* Returns an SHA-384 digest.
328+
* Gets an SHA-384 digest.
329329
*
330330
* @return An SHA-384 digest instance.
331331
* @throws IllegalArgumentException
@@ -338,7 +338,7 @@ public static MessageDigest getSha384Digest() {
338338
}
339339

340340
/**
341-
* Returns an SHA-512/224 digest.
341+
* Gets an SHA-512/224 digest.
342342
*
343343
* @return An SHA-512/224 digest instance.
344344
* @throws IllegalArgumentException
@@ -350,7 +350,7 @@ public static MessageDigest getSha512_224Digest() {
350350
}
351351

352352
/**
353-
* Returns an SHA-512/256 digest.
353+
* Gets an SHA-512/256 digest.
354354
*
355355
* @return An SHA-512/256 digest instance.
356356
* @throws IllegalArgumentException
@@ -362,7 +362,7 @@ public static MessageDigest getSha512_256Digest() {
362362
}
363363

364364
/**
365-
* Returns an SHA-512 digest.
365+
* Gets an SHA-512 digest.
366366
*
367367
* @return An SHA-512 digest instance.
368368
* @throws IllegalArgumentException
@@ -375,7 +375,7 @@ public static MessageDigest getSha512Digest() {
375375
}
376376

377377
/**
378-
* Returns an SHA-1 digest.
378+
* Gets an SHA-1 digest.
379379
*
380380
* @return An SHA-1 digest instance.
381381
* @throws IllegalArgumentException

0 commit comments

Comments
 (0)