Skip to main content
Module

x/drash/src/services/etag/deps.ts>createHash

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
function createHash
Re-export
import { createHash } from "https://deno.land/x/drash@v2.7.0/src/services/etag/deps.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