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

std/node/crypto.ts>createHash

Deno standard library
Go to Latest
function createHash
Re-export
import { createHash } from "https://deno.land/std@0.138.0/node/crypto.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