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

x/deno_nest/modules/cache/deps.ts>Hash

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
class Hash
import { Hash } from "https://deno.land/x/deno_nest@v3.15.1/modules/cache/deps.ts";

Constructors

new
Hash(algorithm: AlgorithmName)

Properties

readonly
instance: HashAlgorithm

Methods

digest(bytes: Uint8Array): { data: Uint8Array; hex(): string; }
digestString(string: string)