Skip to content

Commit 4a24f2e

Browse files
committed
hmac: export HMAC type, fix gh-52
1 parent faa3616 commit 4a24f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hmac.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import assert from './_assert.js';
22
import { Hash, CHash, Input, toBytes } from './utils.js';
33
// HMAC (RFC 2104)
4-
class HMAC<T extends Hash<T>> extends Hash<HMAC<T>> {
4+
export class HMAC<T extends Hash<T>> extends Hash<HMAC<T>> {
55
oHash: T;
66
iHash: T;
77
blockLen: number;

0 commit comments

Comments
 (0)