Questions tagged [saltedhash]

72 questions
2
votes
2 answers

Hash from "email+salt " as a token to verify email

I'm verifying user email address. The way most people tell is to create some unique token store it in db and send to user. I'm doing it with just hashing (sha256) email addres with sitewide salt and sending this hash to user. Am i missing…
Jask
  • 660
  • 10
  • 23
2
votes
1 answer

Is there a way to decrypt a password using Argon2i Encryption?

So I have a password that my password manager overwrote, and I self host the server (NextCloud) and I would like to know if it is possible to revert the hashed password with the salt key I have, I heard NextCloud uses Argon2i when using PHP 7.0 and…
2
votes
3 answers

bcrypt node.js (auto-gen a salt and hash)

I am using the following code to hash (and hopefully salt) user passwords before I store them in my DB. // hash the password before the user is saved ConsultantSchema.pre('save', function(next) { var user = this; // hash the password only if…
Tim__
  • 45
  • 1
  • 7
2
votes
2 answers

How to compare this Salted password when user logs in?

I've used this method to get salted password. I don't know how I can compare the stored salted password with user entered password when he/she logs in string salt = GetRandomSalt(); string passwordHash = HashPassword(txtPassword.Text, salt); …
user5829166
2
votes
1 answer

Has the hash password function changed in magento? If so, to what?

I am using magento version 1.9.0.1. For switching to magento purposes I need to create a login function for customers outside the magento framework. I have looked up the method magento uses to hash and validate passwords, but the method doesn't seem…
ElFietsbel
  • 65
  • 2
  • 7
2
votes
2 answers

How do I verify a password which is hashed using a random salt?

I am developing a web application. Now from security perspective, salted hashing is required for the password while it is sent from client to server. Now my problem is, if I randomly generate a salt, append it to the password and hash the…
Yasha
  • 161
  • 1
  • 4
  • 13
2
votes
3 answers

Correct way of creating salted hash password

I am new to storing passwords on databases and from what I read I have created a simple php script below Am I…
Arya
  • 8,473
  • 27
  • 105
  • 175
2
votes
6 answers

Hashing (with salts) Username and Password in php

I am creating a user login function but I've seen mixed views on the best way to do this. Here's what I was thinking of doing... Hashing the Username using 2 hashed salts which are based on substrings of the username. Hashing the password using 2…
Tom
  • 12,776
  • 48
  • 145
  • 240
1
vote
3 answers

Good secure way to remember a user checkbox

I have a login page which asks for a username and password. This page has a checkbox "Remember Me". Authentication is: For the username provided, convert the provided password to a hash using the salt stored with the user db record and compare the…
Valamas
  • 24,169
  • 25
  • 107
  • 177
1
vote
1 answer

How can I add the feature of 'Change Password' in nodejs with passport authentication and passport-local package?

This is the authentication passport code I have put it in passport.js: var passport = require('passport'); var LocalStrategy = require('passport-local').Strategy; passport.serializeUser(function (user, done) { done(null,…
Biku7
  • 450
  • 6
  • 16
1
vote
1 answer

Accessing GPU through Java for Salted Hashing

I'm looking to write a program that can do some salted (MD5) hashing for me. To reduce the impact on my system, and increase the speed, I want to run the calculations through the GPU. So I have a few questions: 1) Does Java have native support for…
GBleaney
  • 2,096
  • 2
  • 22
  • 40
1
vote
1 answer

How to validate Salted Password and Username for windows application in c#?

I have a simple login windows application. I have successfully created a SQL database in the localhost which contains user information like Username, Password(hashed), Salt and Email, and I have also successfully created a user registration form…
Avishka Dambawinna
  • 1,180
  • 1
  • 13
  • 29
1
vote
5 answers

Forgot password page, but passwords are hashed

I need to implement a Forgot Password page, but my passwords are salted & hashed. So I can't retrieve them conventionally. My idea was to do the following: When an user clicks the Forgot Password link, they naturally need to type in their email…
Anriëtte Myburgh
  • 13,347
  • 11
  • 51
  • 72
1
vote
1 answer

Python : Reproduce the encoding of a filezillaserver password

i have the following xml in my FileZilla server (username: toto with password: toto):
idir
  • 19
  • 5
1
vote
0 answers

salting and hashing Mongod

I wanted to make a simple practice website through which people can sign up and log in, to get to the page they desire. when the user registers, the username and password gets salted and hashed through the use of passportLocalMongoose. It then gets…
user3450754
  • 115
  • 1
  • 1
  • 12