Comments (1)
Hello,
I think what @shaneGirish means is:
If you do not supply a salt
to the hash
or hashSync
functions, a salt will be generated for you. If you do decide to generate your own salt - which can be done using the genSalt
or genSaltSync
functions - you do not need to manually store that salt anywhere because it is embedded in the result - both the salt and hash are stored in the database, but they are stored in one field.
Make sense? 😟
from bcrypt-nodejs.
Related Issues (20)
- Error while installing HOT 1
- node-gyp is required? HOT 1
- Did you plan a release?
- bcrypt compare returns false all the time HOT 4
- Error: global leak detected: lr HOT 7
- Latest version is not published HOT 3
- package.json license field
- The link to github in package.json is wrong HOT 1
- Callback required error when hashing with 3 params HOT 2
- Use strict mode not working HOT 3
- RHEL6 wont compile no c++11 available HOT 2
- npm links to wrong repository HOT 9
- Maybe a CompareSync Bug HOT 6
- Standardized license HOT 3
- Rounds not optional in bcrypt.genSalt function HOT 1
- Not a valid BCrypt hash.
- hashSync broken, "TypeError: salt.charAt is not a function" HOT 2
- "Octal literal in strict mode" error in Webpack HOT 1
- Please mark the npm package / this project as deprecated HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcrypt-nodejs.