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

std/node/_crypto/hash.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.137.0/node/_crypto/hash.ts";

Classes

The Hash class is a utility for creating hash digests of data. It can be used in one of two ways:

Functions

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

Returns an array of the names of the supported hash algorithms, such as 'sha1'.