This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push: new c74ed13 Javadoc: Add @since 1.12/ c74ed13 is described below commit c74ed13a8b14421a5eb1bdc83430d413545682dd Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Fri Feb 15 09:34:54 2019 -0500 Javadoc: Add @since 1.12/ --- src/main/java/org/apache/commons/codec/digest/Md5Crypt.java | 3 +++ src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java b/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java index a3c8e49..6415936 100644 --- a/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java +++ b/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java @@ -90,6 +90,7 @@ public class Md5Crypt { * or {@link ThreadLocalRandom}. * @throws IllegalArgumentException when a {@link java.security.NoSuchAlgorithmException} is caught. * * @see #apr1Crypt(byte[], String) + * @since 1.12 */ public static String apr1Crypt(final byte[] keyBytes, final Random random) { return apr1Crypt(keyBytes, APR1_PREFIX + B64.getRandomSalt(8, random)); @@ -198,6 +199,7 @@ public class Md5Crypt { * @throws IllegalArgumentException * when a {@link java.security.NoSuchAlgorithmException} is caught. * @see #md5Crypt(byte[], String) + * @since 1.12 */ public static String md5Crypt(final byte[] keyBytes, final Random random) { return md5Crypt(keyBytes, MD5_PREFIX + B64.getRandomSalt(8, random)); @@ -273,6 +275,7 @@ public class Md5Crypt { * if the salt does not match the allowed pattern * @throws IllegalArgumentException * when a {@link java.security.NoSuchAlgorithmException} is caught. + * @since 1.12 */ public static String md5Crypt(final byte[] keyBytes, final String salt, final String prefix, final Random random) { final int keyLen = keyBytes.length; diff --git a/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java b/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java index 72211c8..2033292 100644 --- a/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java +++ b/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java @@ -132,6 +132,7 @@ public class Sha2Crypt { * if the salt does not match the allowed pattern * @throws IllegalArgumentException * when a {@link java.security.NoSuchAlgorithmException} is caught. + * @since 1.12 */ public static String sha256Crypt(final byte[] keyBytes, String salt, Random random) { if (salt == null) { @@ -607,6 +608,7 @@ public class Sha2Crypt { * if the salt does not match the allowed pattern * @throws IllegalArgumentException * when a {@link java.security.NoSuchAlgorithmException} is caught. + * @since 1.12 */ public static String sha512Crypt(final byte[] keyBytes, String salt, final Random random) { if (salt == null) {