This is an automated email from the ASF dual-hosted git repository.
sebb 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 6175c99e Javadoc fixes [skip ci]
6175c99e is described below
commit 6175c99ee3055b3a87d9c51e59ab8be22a4c1cfc
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 30 16:53:54 2024 +0100
Javadoc fixes [skip ci]
---
src/main/java/org/apache/commons/codec/digest/Crypt.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/digest/Crypt.java
b/src/main/java/org/apache/commons/codec/digest/Crypt.java
index 9a1bff46..f1ce9e17 100644
--- a/src/main/java/org/apache/commons/codec/digest/Crypt.java
+++ b/src/main/java/org/apache/commons/codec/digest/Crypt.java
@@ -62,8 +62,10 @@ public class Crypt {
* @param keyBytes
* plaintext password
* @param salt
- * real salt value without prefix or "rounds=". The salt may be
null,
- * in which case a salt is generated for you using {@link
SecureRandom}.
+ * the salt, which is used to select the algorithm, see {@link
#crypt(String, String)}
+ * The salt may be null,
+ * in which case the method delegates to {@link
Sha2Crypt#sha512Crypt(byte[])}
+ *
* @return hash value
* @throws IllegalArgumentException
* if the salt does not match the allowed pattern