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

std/node/crypto.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.117.0/node/crypto.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'.