Comments (4)
Just ran a simple comparison using hashSync with 13 rounds:
bcrypt: 624ms
$2a$13$dehpYybmxsMTVEGBnU1TWeLSPgOtO2.hfYrupcOCW4ckkK/nYmyPC
bcrypt.js: 1691ms
$2a$13$dehpYybmxsMTVEGBnU1TWeLSPgOtO2.hfYrupcOCW4ckkK/nYmyPC
In this specific case and running on my machine, bcrypt.js is about 2,71 times slower than the native binding.
Will add it to the README with the next commit.
from bcrypt.js.
See also: https://github.com/dcodeIO/bcrypt.js/wiki/Benchmark
from bcrypt.js.
Wow, you closed this faster than most people accept a pull request 👍
from bcrypt.js.
other benchmark: https://repl.it/@caub/bcrypt-perfs
from bcrypt.js.
Related Issues (20)
- Any security downsides to auto-generating salt?
- Readme doesn't show on NPM Registry? HOT 1
- compareSync not working like compare
- Bcrypt compare method is not returning true when hash password is stored in the database. HOT 2
- Error resolving dependency
- Trailing underscores are not accounted for. HOT 1
- Bcryptjs on browser is not functioning properly. HOT 3
- hopefully can delete email address or write them on the README.md
- Can't resolve 'crypto', BREAKING CHANGE: webpack <5 used to include polyfills? HOT 3
- Bcryptjs compares badly with jwt and its hash HOT 5
- Error: Illegal arguments: undefined, string HOT 1
- issues with compare/compareSync via docker compose env
- This repository is no longer maintained HOT 4
- How bcryptjs works?
- This library is maintained
- Bcrypt compare always return false HOT 3
- bcryptjs.compare returns illegal arguments error
- Error: Illegal arguments: string, undefined HOT 1
- How to decript password?????? HOT 5
- genSalt not working on nodejs esm
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.js.