{"repo":"ranisalt/node-argon2","free":true,"listed":false,"github":"https://github.com/ranisalt/node-argon2","clone":"git clone https://github.com/ranisalt/node-argon2.git","description":"Node.js bindings for Argon2 hashing algorithm","language":"JavaScript","stars":2178,"topics":["argon2","crypto","encryption","hashing","password","hacktoberfest","nodejs"],"license":"MIT","category":"security-tools","readme_excerpt":"node-argon2 [![Financial contributors on Open Collective][opencollective-image]][opencollective-url] [![Build status][actions-image]][actions-url] [![NPM package][npm-image]][npm-url] Bindings to the reference Argon2 implementation. Usage It's possible to hash using either Argon2i, Argon2d or Argon2id (default), and verify if a password matches a hash. To hash a password: To verify a password: [!NOTE] By default, argon2.hash will generate secure hashes according to the security recommendations by the team that develops Argon2. For password hashing, there is no need to modify them. To see how you can modify the output (hash length, encoding) and parameters (time cost, memory cost and parallelism), read the wiki Comparison with the node:crypto native implementation The native API is focused towards generic usage of the Argon2 hash function, while this package historically focused on password hashing. Once all supported Node releases include native Argon2 and older versions are officially EOL, node-argon2 will transition into a minimal wrapper. It will offer the most developer-friendly interface, bridging users to Node's native crypto methods. This avoids duplication and ensures seamless upgrades once native support is universal. node-argon2 node:crypto argon2 ----------------------------------------------------------------------------------------------------------------- ----------- ------------------ Generate hashes ✅ ✅ PHC string formatting ✅ ❌ Verify PHC string ✅ ❌ Check if ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ranisalt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ranisalt/node-argon2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}