Skip to main content
Module

x/hmac/mod.ts>Hash

hash-based message authentication code
Latest
interface Hash
import { type Hash } from "https://deno.land/x/hmac@v2.0.1/mod.ts";

An interface representation of a hash algorithm implementation.

Properties

hashSize: number

Methods

init(): Hash
update(msg: string | Uint8Array, inputEncoding?: string): Hash
digest(outputEncoding?: string): string | Uint8Array