hash-wasm is a high-performance cryptographic and non-cryptographic hashing library that leverages hand-optimized WebAssembly binaries to deliver fast hashing capabilities in browsers, Node.js, and other JavaScript environments. The library supports a wide range of algorithms, including MD5, SHA variants, BLAKE, Argon2, bcrypt, and xxHash, making it suitable for applications ranging from security to data processing. By compiling optimized C implementations into WebAssembly, hash-wasm achieves significantly better performance compared to pure JavaScript alternatives while maintaining portability across platforms. It supports both simple one-shot hashing and advanced streaming modes, allowing developers to process large datasets incrementally. The architecture is modular, enabling tree-shaking so that only the required algorithms are included in the final bundle, reducing application size.

Features

  • Wide support for cryptographic and non-cryptographic hash algorithms
  • WebAssembly-based performance significantly faster than JavaScript
  • Streaming and chunked hashing for large data processing
  • Modular architecture with tree-shaking support
  • Concurrent hashing with multiple independent states
  • Compatibility with browsers, Node.js, and Deno

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow hash-wasm

hash-wasm Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of hash-wasm!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

3 days ago