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

std/node/_crypto/hash.ts>getHashes

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function getHashes
import { getHashes } from "https://deno.land/std@0.126.0/node/_crypto/hash.ts";

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

Returns

readonly string[]