@@ -90,6 +90,7 @@ public static String apr1Crypt(final byte[] keyBytes) {
9090 * or {@link ThreadLocalRandom}.
9191 * @throws IllegalArgumentException when a {@link java.security.NoSuchAlgorithmException} is caught. *
9292 * @see #apr1Crypt(byte[], String)
93+ * @since 1.12
9394 */
9495 public static String apr1Crypt (final byte [] keyBytes , final Random random ) {
9596 return apr1Crypt (keyBytes , APR1_PREFIX + B64 .getRandomSalt (8 , random ));
@@ -198,6 +199,7 @@ public static String md5Crypt(final byte[] keyBytes) {
198199 * @throws IllegalArgumentException
199200 * when a {@link java.security.NoSuchAlgorithmException} is caught.
200201 * @see #md5Crypt(byte[], String)
202+ * @since 1.12
201203 */
202204 public static String md5Crypt (final byte [] keyBytes , final Random random ) {
203205 return md5Crypt (keyBytes , MD5_PREFIX + B64 .getRandomSalt (8 , random ));
@@ -273,6 +275,7 @@ public static String md5Crypt(final byte[] keyBytes, final String salt, final St
273275 * if the salt does not match the allowed pattern
274276 * @throws IllegalArgumentException
275277 * when a {@link java.security.NoSuchAlgorithmException} is caught.
278+ * @since 1.12
276279 */
277280 public static String md5Crypt (final byte [] keyBytes , final String salt , final String prefix , final Random random ) {
278281 final int keyLen = keyBytes .length ;
0 commit comments