Login
OneManager
Home
/
Bethel
/
tmp
/
october-report-20261021
/
node_modules
/
apache-md5
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
src
2026-10-14 12:34:53
2.87 KB
LICENSE
2026-10-21 07:16:33
1.05 KB
package.json
2026-10-21 07:16:33
1.29 KB
README.md
2026-10-21 07:16:33
936 B
# apache-md5 [Node.js](http://nodejs.org/) package for Apache style password encryption using md5. [](https://github.com/gevorg/apache-md5/actions/workflows/build.yml) ## Installation Via git (or downloaded tarball): ```bash $ git clone git://github.com/gevorg/apache-md5.git ``` Via [npm](http://npmjs.org/): ```bash $ npm install apache-md5 ``` ## Usage ```javascript const md5 = require("apache-md5"); // Encrypting password using apache's md5 algorithm. const encryptedPassword = md5("mypass"); // Should print true. console.log(md5("mypass", encryptedPassword) == encryptedPassword); // Should print false. console.log(md5("notmypass", encryptedPassword) == encryptedPassword); ``` ## Running tests It uses [mocha](https://mochajs.org/), so just run following command in package directory: ```bash $ npm test ``` ## License The MIT License (MIT)
Close
2026-10-29 08:07:05 Thursday 216.73.216.30 Runningtime:1.106s Mem:404.79 KB