Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/hash/_wasm/hash.ts>Hash

Deno standard library
Go to Latest
class Hash
implements Hasher
import { Hash } from "https://deno.land/std@0.159.0/hash/_wasm/hash.ts";

Constructors

new
Hash(algorithm: string)

Methods

digest(): ArrayBuffer

Returns final hash

toString(format?: OutputFormat): string

Returns hash as a string of given format

update(message: Message): this