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

Hash

This 🦕 module represents a collection of hash functions.

Usage Example SHA256

import hashJs from 'https://deno.land/x/hash/mod-hashjs.ts'

console.log(hashJs.sha256().update('Bitcoin').digest('hex'))

Execute Usage Example SHA256

deno run https://deno.land/x/hash/usage-example-sha256.ts

Usage Example CRC32

import crc32 from 'https://deno.land/x/hash/mod-crc32.ts'

console.log(crc32.str("SheetJS"))
console.log(crc32.bstr("SheetJS"))
console.log(crc32.buf([83, 104, 101, 101, 116, 74, 83]))

Execute Usage Example CRC32

deno run https://deno.land/x/hash/usage-example-crc32.ts

Donations

Thanks to Freedom Cash, we are already free.
If you want to donate, you might consider donating to the otherparty.co.uk to ensure people do not need to donate to victims but rather donate successfully to problem solvers.

direct-democracy