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

hash_slinging_slasher

hash slinging slasher

A Deno library for hashing a data stream.

Examples

import { hash } from "https://deno.land/x/hash_slinging_slasher";

const file = await Deno.open("random.bin");
const computed = await hash(file, "hex", "sha1");

// Logs the computed hash in hex
console.log(computed);