A JavaScript library for hash functions and utilities.
- Multiple MD5 implementations (JavaScript, WebAssembly, Crypto)
- Hash identification
- String to hash conversion with multiple algorithms (MD5, SHA-1, SHA-256, SHA-512, SHA-3)
- MD5 bruteforcer
- Character encoding utilities
The project includes comprehensive tests for all modules. To run the tests:
-
Start a local HTTP server:
npx http-server -p 8080
-
Open the test page in your browser:
http://localhost:8080/test.html
This project uses GitHub Actions for continuous integration. The workflow automatically runs all tests on push and pull requests to the main branch.
The workflow:
- Sets up a Node.js environment
- Installs dependencies
- Starts a local HTTP server
- Runs the tests using Puppeteer
- Reports the test results
js/
- Core JavaScript modulesmd5.js
- Pure JavaScript MD5 implementationmd5wasm.js
- WebAssembly MD5 implementationmd5crypto.js
- JavaScript MD5 implementationmd5Bruteforcer.js
- MD5 hash bruteforcerstringToHash.js
- String to hash conversion with multiple algorithmshashIdentifier.js
- Hash type identificationcharacterEncoder.js
- Character encoding utilitiesencodingMaps.js
- Character encoding maps
test.html
- Test runner page.github/workflows/
- GitHub Actions workflow configuration
See the LICENSE file for details.