Author: sebb
Date: Fri May 20 00:11:45 2016
New Revision: 1744646

URL: http://svn.apache.org/viewvc?rev=1744646&view=rev
Log:
Javadoc correction

Modified:
    
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Crypt.java

Modified: 
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Crypt.java
URL: 
http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Crypt.java?rev=1744646&r1=1744645&r2=1744646&view=diff
==============================================================================
--- 
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Crypt.java
 (original)
+++ 
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/Crypt.java
 Fri May 20 00:11:45 2016
@@ -114,9 +114,11 @@ public class Crypt {
      * storedPwd.equals(crypt(enteredPwd, storedPwd))
      * </pre>
      * <p>
-     * The resulting string starts with the marker string ({@code $6$}), 
continues with the salt value and ends with a
-     * {@code "$"} sign followed by the actual hash value. For DES the string 
only contains the salt and actual hash.
-     * It's total length is dependent on the algorithm used:
+     * The resulting string starts with the marker string ({@code $n$}), where 
n is the same as the input salt.
+     * The salt is then appended, followed by a {@code "$"} sign.
+     * This is followed by the actual hash value.
+     * For DES the string only contains the salt and actual hash.
+     * The total length is dependent on the algorithm used:
      * <ul>
      * <li>SHA-512: 106 chars
      * <li>SHA-256: 63 chars


Reply via email to