Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/hash/mod.ts>createHash

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function createHash
import { createHash } from "https://deno.land/std@0.110.0/hash/mod.ts";

Creates a new Hash instance.

Parameters

algorithm: SupportedAlgorithm

name of hash algorithm to use

Returns

Hasher