Most voted "bcrypt" questions
bcrypt is a hash-like encryption method for passwords based on Blowfish. It was created by Niels Provos and David Mazières and presented at the USENIX conference in 1999. This method presents greater security than most other cryptographic methods which is the implementation of the "cost" variable which is proportional to the amount of processing required to encrypt the password.
Learn more…22 questions
Sort by count of
-
9
votes3
answers949
viewsScrypt, Bcrypt or anything else
I’m choosing a hash algorithm for passwords from a system I develop. At the beginning of my "programmatic" I used the MD5, the SHA-1 and its derivantes. After a while I preferred the Whirlpool and…
-
5
votes1
answer1418
viewsWhat is the correct way to use Bcrypt?
I’m trying to give my system a satisfactory level of security. In my researches I found several functions that create hashs for passwords, but among all of them, I saw the most recommended were…
-
2
votes2
answers158
viewsError - Password update bcrypt
I am unable to encrypt my password during an update using bcrypt in Mongoose. The password is changed smoothly but without encryption. Follow the schema: var mongoose= require('mongoose');…
-
2
votes1
answer260
viewsBcrypt in java and php does not match
I have an application in Php that makes a record of a person and when the person puts the password, the password is stored in the database in hash form, with the following code…
-
2
votes3
answers313
viewsLogin problems using the crypt() function in PHP
I’m returning to the world of PHP after a long winter. I took an example of user registration that uses MD5 as encryption standard and now I’m struggling to log in a test user because I need to…
-
1
votes1
answer129
viewsIs jBCrypt still safe?
I wonder if jBCrypt is outdated because it has not updated for two years https://github.com/josephw/jBCrypt If so, there would be a replacement for hashing and Salts for java?…
-
1
votes1
answer245
viewsbeforeupdate sequelize does not work
I am trying to make the data update encrypted the user password but simply does not work and does not issue error. Have the following model of sequelize. import bcrypt from 'bcrypt'; export default…
-
1
votes1
answer110
viewsLogin with Play! framework
I am trying to create a login system on the system but I have the following problem: public Result salvaNovoUsuario() { Form<Usuario> formulario =…
-
1
votes1
answer76
viewsDoubt about Null Byte in Bcrypt PHP
Well, I learned that PHP’s Bcrypt is vulnerable to Null Byte. What are the tests I have to do to see this vulnerability, and what are the conquencias of it??
-
1
votes2
answers286
viewsCompare the combination of the numeric keyboard with the user’s bcrypt
Speak guys, I’m developing a numeric keyboard like the banks, in which the user selects a combination of numbers, but has to make the comparison with the password stored it, in bcrypt. The password…
-
1
votes1
answer2145
viewsHow does bcrypt work?
I don’t quite understand the workings of salt of bcrypt, in a javascript code (Node): const bcrypt = require('bcrypt'); const saltRounds = 10; async function init(plainPassword) { let salt = await…
-
1
votes0
answers132
viewsWhy is a hash in Bcrypt different each time it is encrypted? Correct way to compare passwords in Bcrypt
Good, I am trying to create a webpanel and a friend suggested me to encrypt users' passwords with BCRYPT for their security. My problem when trying to sign in, the encrypted password that is stored…
-
1
votes1
answer47
viewsInstallation bcrypt golang
I have a problem that I cannot solve and would like help if possible. I am new to golang language. During a tutorial that was following regarding the language, a script was created with the bcrypt…
-
0
votes1
answer1171
viewsHow to use the bcrypt function of the Laravel?
I have a file .php in the public folder of Laravel and for larger reasons I cannot create a controller of it. However, I need to use the function bcrypt to generate the password an encrypted…
-
0
votes1
answer86
viewsbcrypt error in Rails 5.1
In a new project, after installing the Gemfile gems, when I try to start the server with rails s the following error is displayed in the console : LoadError: cannot load such file -- 2.3/bcrypt_ext…
-
0
votes1
answer93
viewsMongooose Middleware to encrypt password in Schema
I’m having a hard time putting a Middleware in my Mongoose schema. I put it as save and am getting the error that it is not a function when I call it. See below both codes: schema.pre('save',…
-
0
votes1
answer67
viewsError trying to encrypt with BCRYPT in Python
Code: import bcrypt hashed = bcrypt.hashpw('teste',bcrypt.gensalt()) error: Typeerror: Unicode-Objects must be encoded before hashing Running the program shows this error, how can I fix?…
-
0
votes1
answer244
viewsbcrypt character limit in PHP
In the PHP documentation for the function password_hash has the notice: Care Using PASSWORD_BCRYPT as algorithm, will result in the parameter password truncated to a maximum length of 72 characters.…
-
0
votes1
answer366
viewsbcrypt.compare returning false even with correct password after certain period of time
I’m using the bcrypt to generate password hash in Node.js, as code below, after creating a user: UserSchema.pre("save", async function(next) { const hash = await bcrypt.hash(this.pass, 8); this.pass…
-
0
votes0
answers64
viewsbcrypt.compareSync always returning false
I am creating an api for reasons of studies, and I have a problem that bcrypt keeps returning false for what it seems to me, I used this same comparison function in another study project and it had…
-
-1
votes1
answer1556
views -
-1
votes1
answer109
viewsNodejs returns: Illegal Arguments: number
const bodyParser = require('body-parser'); const bcrypt = require('bcryptjs'); //Bring in User Model let User = require('../models/user'); var urlencodedParser = bodyParser.urlencoded({extended:…