Skip to content
Sha1、MD5 algorithms for Deno
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
.gitignore
LICENSE
README.md
hash.ts
md5.test.ts
md5.ts
mod.ts
package.json
sha1.test.ts
sha1.ts
tsconfig.json

README.md

deno-checksum

import { Hash, encode } from "https://deno.land/x/checksum/mod.ts";
// 5eb63bbbe01eeed093cb22bb8f5acdc3
console.log(new Hash("md5").digest(encode("hello world")).hex());

// 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
console.log(new Hash("sha1").digest(encode("hello world")).hex());
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.