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 80bf857 commit 23e4303Copy full SHA for 23e4303
src/main/java/at/favre/lib/bytes/BytesTransformers.java
@@ -347,7 +347,13 @@ public static final class HmacTransformer implements BytesTransformer {
347
private final byte[] secretKey;
348
private final String macAlgorithmName;
349
350
- public HmacTransformer(byte[] secretKey, String macAlgorithmName) {
+ /**
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) {
357
this.macAlgorithmName = macAlgorithmName;
358
this.secretKey = secretKey;
359
}
0 commit comments