Skip to main content
Deno 2 is finally here 🎉️
Learn more
method HashUtil.prototype.generateHashForData
Re-export
import { HashUtil } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Create a hash for the data parameter

Parameters

algorithm: string

algorithm to use to hash

data: crypto.BinaryLike

data to be hashed

Returns

string

hash value