Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.151.0/node/internal/crypto/hash.ts";

Creates and returns a Hash object that can be used to generate hash digests using the given algorithm. Optional options argument controls stream behavior.

Parameters

algorithm: string
optional
opts: TransformOptions