Skip to content

Commit 23e4303

Browse files
committed
Fix checkstyle issue
1 parent 80bf857 commit 23e4303

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/at/favre/lib/bytes/BytesTransformers.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,13 @@ public static final class HmacTransformer implements BytesTransformer {
347347
private final byte[] secretKey;
348348
private final String macAlgorithmName;
349349

350-
public HmacTransformer(byte[] secretKey, String macAlgorithmName) {
350+
/**
351+
* Create a new hmac transformer
352+
*
353+
* @param secretKey to use as key
354+
* @param macAlgorithmName hash algorithm e.g. 'HmacSHA256'
355+
*/
356+
HmacTransformer(byte[] secretKey, String macAlgorithmName) {
351357
this.macAlgorithmName = macAlgorithmName;
352358
this.secretKey = secretKey;
353359
}

0 commit comments

Comments
 (0)