Skip to content

Commit 9be40d4

Browse files
committed
Fix Javadoc
1 parent 90d3d0d commit 9be40d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/owasp/esapi/crypto/CipherText.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@ protected boolean canEqual(Object other) {
804804
* proved in 1996 [see http://pssic.free.fr/Extra%20Reading/SEC+/SEC+/hmac-cb.pdf] that
805805
* HMAC security doesn’t require that the underlying hash function be collision resistant,
806806
* but only that it acts as a pseudo-random function, which SHA1 satisfies.
807-
* @param ciphertext The ciphertext value for which the MAC is computed.
807+
* @param authKey The {@Code SecretKey} used with the computed HMAC-SHA1
808+
* to ensure authenticity.
808809
* @return The value for the MAC.
809810
*/
810811
private byte[] computeMAC(SecretKey authKey) {

0 commit comments

Comments
 (0)