About 1,240,000 results
Open links in new tab
  1. How to use bcryptjs library with ES6 in NodeJS? - Stack Overflow

    Nov 9, 2022 · 2 Try running the command npm i --save-dev @types/bcryptjs or yarn add --dev @types/bcryptjs if you're using yarn to get the type definitions for this module.

  2. javascript - How do Node's bcrypt and bcryptjs libraries differ ...

    Feb 13, 2019 · bcryptjs explicitly says "Optimized bcrypt in JavaScript with zero dependencies." So, yes, it's a pure Javascript implementation of bcrypt, which purportedly even "runs in the …

  3. javascript - Compare passwords BcryptJS - Stack Overflow

    Oct 17, 2016 · So I'm trying to build a very basic user login. I'm trying to create a user, then login with those credentials and get back a JSON Web Token. Where I'm stuck is trying to compare …

  4. node.js - Cannot find module 'bcryptjs' - Stack Overflow

    Apr 14, 2023 · I installed @types/bcryptjs package in nodejs. When I import it only, there is no problem but when I use it in my code, like that: …

  5. Neither WebCryptoAPI nor a crypto module is available in bcryptjs …

    Feb 15, 2025 · Why does bcryptjs v3.0.0 require WebCryptoAPI or an external crypto module, while v2.4.3 works fine? Is there a proper way to make it work with v3.0.0 without downgrading?

  6. Bcryptjs compare not working when I pull from user.password

    Mar 11, 2024 · Here is some testing of code that works: Assume all files are importing bcrypt from bcryptjs and DB is working. // Validate Password testing const salt = await bcrypt.genSalt(10); …

  7. node.js - Cannot find module 'bcrypt' - Stack Overflow

    Dec 31, 2015 · 1 For me, it was because bcryptjs has a different name. To fix it simply, cd node_modules Go to node_modules folder on your application ln -s bcryptjs bcrypt OR for …

  8. cryptography - Node.js: bcrypt vs native crypto - Stack Overflow

    Aug 5, 2011 · I would use Node.js's native crypto library I think the decision should not be just based on who does what better, it is much more than that You should know why Node.js …

  9. node.js - Encrypt and Decrypt in bcryptjs - Stack Overflow

    May 7, 2019 · I want to encrypt an email id and decrypt that how? I checked the documentation, but it only shows password encryption, and that is showing a true or false result. Any way to …

  10. Bcrypt gives an Unexpected Token error with Next.js 14 (Client ...

    Feb 11, 2024 · Bcrypt unfortunately will never be compatible with Next 14, more particularly on SSR systems or server components, as it uses Crypto behind the scenes, which in turn is also …