
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
hash-wasm-rs
Advanced tools
A WebAssembly library for computing hashes, built with Rust.
| Name |
|---|
| BLAKE3 |
| MD5 |
| SHA: SHA-224, SHA-256, SHA-384, SHA-512 |
| SHA-3: SHA3-224, SHA3-256, SHA3-384, SHA3-512 |
pnpm add hash-wasm-rs
Example large file hash calculation
pnpm add vite-plugin-wasm
import { defineConfig } from "vite";
import wasm from "vite-plugin-wasm";
export default defineConfig(({ mode }) => ({
plugins: [wasm()],
}));
onMounted(async () => {
try {
const $hashWasmRs = await import("hash-wasm-rs");
const result = await $hashWasmRs.md5("Hello, world!");
console.log(result.hex);
result.free();
} catch (error) {
console.error("WASM error:", error);
}
});
# Build package WebAssembly library
wasm-pack build --release
# Build HTML WebAssembly library
wasm-pack build --release --target web --out-dir pkg-web
# Build WebAssembly library with SIMD support
RUSTFLAGS="-C target-feature=+simd128" wasm-pack build --release --target web
# Serve the demo page
python3 -m http.server
FAQs
A WebAssembly library for computing file hashes, built with Rust.
We found that hash-wasm-rs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.