node-argon2
kruptein
Our great sponsors
node-argon2 | kruptein | |
---|---|---|
11 | 1 | |
1,792 | 6 | |
- | - | |
7.5 | 0.0 | |
15 days ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-argon2
-
A Step-by-Step Guide to Implement JWT Authentication in NestJS using Passport
❓ Why is hashing and salting passwords mandatory? A salt is simply a random data used as an additional input to the hashing function to safeguard your password. The random string from the salt makes the hash unpredictable. A password hash involves converting the password into an alphanumeric string using specialized algorithms. Hashing and salting are irreversible and ensure that even if someone gains access to the hashed passwords, they will not be able to decrypt them to recover the original passwords. Hystorically bcrypt is recognized as the best hashing algorithm. However, in terms of robustness against all the new cryptographic attacks targeting hashing algorithms, the current clear winner is argon2. However, since the “youth" (2015) of this algorithm, I chose to use bcrypt
-
Best Node hashing algorithm option?
Argon2: this is the newest highly recommended algorithm, and recommended by OWASP. (Edit: originally linked to a low-download library.)
- Quick notes on cryptography for js devs
- What is the best way to encrypt a password using NodeJS?
- Authentication with Next.js - The do's and don'ts, and why next-auth is your friend [ part 1 of 2 ]
-
How to sign out user after a period of time
Though I am using bcrypt to hash passwords, recommended approach currently is argon2
-
Correct parameters to migrate from Bcrypt to Argon2 for express?
As per security.stackexchange.com the recommended number of rounds for Bcrypt is a number such that it takes atleast 250 ms to hash your password. Argon2 on the other hand takes multiple parameters it seems. What is the equivalent configuration you need for Argon2? I am talking about an express webserver here with passportjs if that helps
-
Password hashing with bcrypt vs bcryptjs vs pgcrypto (database layer)
If you already have Bcrypt & want to start converting to Argon2, check out this guide → https://github.com/ranisalt/node-argon2/wiki/Migrating-from-another-hash-function
-
Logging in and hashing passwords in svelte
You can look at the argon2 npm (https://www.npmjs.com/package/argon2).
- "They [Google] don't [hash passwords on client side, and nobody does" "This is why it's so easy to hack into their servers. All of the IT people working for those companies have no clue what security truly is"
kruptein
-
Ask HN: Those making $0/month or less on side projects – Show and tell
Kruptein: https://github.com/jas-/kruptein
A node.js module which implements a standard API for symmetric encryption and does so by providing the requisite key derivation from a supplied secret, strong key and cipher selections, performs validate then decrypt of cipher text while supporting most language character sets and ASN.1 encoding ensuring compatibility with most if not all database engines.
Used best practices documentation and am currently using famous cryptographers throughout history to name each release.
Built to help provide a simple drop in for protecting data at rest without the fuss of making a bad decision on how to protect it.
What are some alternatives?
crypto-hash - Tiny hashing module that uses the native crypto API in Node.js and the browser
bag.js - JS / CSS / files loader + key/value storage
CyberChef - The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
basil.js - The missing Javascript smart persistent layer
next-auth - Authentication for the Web.
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
Passport - Simple, unobtrusive authentication for Node.js.
js-cookie - A simple, lightweight JavaScript API for handling browser cookies
SofleKeyboard - A split keyboard based on Lily58, Crkbd and Helix keyboards
DB.js - db.js is a wrapper for IndexedDB to make it easier to work against
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
jStorage - jStorage is a simple key/value database to store data on browser side