A utility for getting the MD5 hash of files in web browsers. The MD5 hashing is done via WebAssembly, and the utility supports incrementally hashing large files via streaming for memory efficiency.
- Rust >=
1.62 - Cargo >=
1.62 - The
wasm32-unknown-unknowntarget must be installed to compile thewfh_wasmcrate - Node.js >=
16 - pnpm >=
7
- wfh - file hashing library
- wfh_cf_page - example web page using
wfhto hash files - wfh_wasm - Rust crate wrapping the
md-5crate, compiled down to WebAssembly
From the root:
# Develop the example web page locally
pnpm dev
# Build everything
pnpm build
# Test all packages and crates
pnpm test
# Test Rust crates
pnpm test:rs
# Test TypeScript packages
pnpm test:ts
# Lint all packages and crates
pnpm lint
# Lint Rust crates
pnpm lint:rs
# Lint TypeScript packages
pnpm lint:ts