diff --git a/index.d.ts b/index.d.ts index 3ac12ed..da11b96 100644 --- a/index.d.ts +++ b/index.d.ts @@ -53,6 +53,14 @@ interface Hash { * @param message The message you want to hash. */ update(message: Message): Hasher; + + /** + * Computes a Hash-based message authentication code (HMAC) using a secret key + * + * @param secretKey The Secret Key + * @param message The message you want to hash. + */ + hmac(secretKey: string, message: Message): string; } export var sha256: Hash;