{"library":"node-md6","title":"MD6 Cryptographic Hash Function","description":"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.","language":"javascript","status":"abandoned","last_verified":"Sun Apr 19","install":{"commands":["npm install node-md6"],"cli":null},"imports":["const md6 = require('node-md6');","// In a browser, after script inclusion:\nconst hash = md6('hello');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const md6 = require('node-md6');\n\nconst inputString = 'The quick brown fox jumps over the lazy dog. This is a test string to demonstrate MD6 hashing.';\nconst hashResult = md6(inputString, 256); // Compute a 256-bit MD6 hash\n\nconsole.log('Input:', inputString);\nconsole.log('MD6 (256-bit) Hash:', hashResult);\n\n// Example of another input and hash size\nconst anotherInput = 'Another piece of data for hashing.';\nconst shortHash = md6(anotherInput, 128); // Compute a 128-bit MD6 hash\n\nconsole.log('Another Input:', anotherInput);\nconsole.log('MD6 (128-bit) Hash:', shortHash);","lang":"javascript","description":"Demonstrates how to import the `node-md6` library and compute MD6 hashes of varying lengths for given input strings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}