We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d3d0d commit 9be40d4Copy full SHA for 9be40d4
src/main/java/org/owasp/esapi/crypto/CipherText.java
@@ -804,7 +804,8 @@ protected boolean canEqual(Object other) {
804
* proved in 1996 [see http://pssic.free.fr/Extra%20Reading/SEC+/SEC+/hmac-cb.pdf] that
805
* HMAC security doesn’t require that the underlying hash function be collision resistant,
806
* 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.
+ * @param authKey The {@Code SecretKey} used with the computed HMAC-SHA1
808
+ * to ensure authenticity.
809
* @return The value for the MAC.
810
*/
811
private byte[] computeMAC(SecretKey authKey) {
0 commit comments