node-md6 is an implementation of the MD6 cryptographic hash function, a design by Ronald Rivest that was submitted as a candidate for the NIST SHA-3 competition in 2008. MD6 was designed with features like high parallelism through a Merkle tree-like structure and variable output lengths up to 512 bits, aiming for enhanced security and resistance to collision attacks compared to predecessors like MD5. However, it did not advance in the SHA-3 competition due to concerns regarding speed and initially a 'gap in the proof' for differential attack resistance. This specific `node-md6` package is currently at version 0.1.0 and has not seen updates since 2014, making it an unmaintained project. While MD6 itself was designed with strong security principles, using this particular package for new projects is not recommended due to its abandonment and the availability of more widely vetted and maintained hashing algorithms like SHA-256 or SHA-3.
npm install node-md6Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to import the `node-md6` library and compute MD6 hashes of varying lengths for given input strings.
Avoid using this package for new projects. For cryptographic hashing, use Node.js's built-in `crypto` module (e.g., `crypto.createHash('sha256')`) or widely maintained third-party libraries.For secure hashing, always prefer modern, well-vetted, and actively maintained algorithms and implementations like SHA-256, SHA-512, or SHA-3 from Node.js's native `crypto` module.
There is no recommended fix other than migrating to a stable, maintained library. Any usage of this package should be treated as experimental and non-production ready.
Manual declaration files (`.d.ts`) would need to be created if strict TypeScript usage is required, though this is not recommended given the package's abandoned status.
Ensure you are using `const md6 = require('node-md6');` in Node.js, or that the UMD script has loaded successfully in a browser environment to expose `window.md6`.Provide a valid bit length (e.g., 128, 256, 384, 512) as the second argument to the `md6()` function.
No dependency data recorded yet.