Cryptography function that takes random bits and a string (typically a password) and uses a one-way hash to provide a new string that can be used for authentication without providing access to the original string. If a salt function uses enough random bits, the resulting string is generally considered cryptographically secure.
Questions tagged [salt]
1027 questions
-3
votes
1 answer
Why my encrypt algorithm always returns same salt every time?
I have made my own encrypt and decrypt algorithm, but if I call crypting class and encrypt data, it writes every time same salt to file, but if I start app again, the salt is different. Here are 2 application runs and its…

Honza Sedloň
- 358
- 10
- 27
-3
votes
1 answer
PHP login password salting not allowing new users to login
Have an issue with my login script - users register or I can add on my admin panel but when they go to login they are advised their username/email or password is incorrect - I know neither is but there is a salt password hash in place.

user3328557
- 100
- 3
- 15
-3
votes
2 answers
Salt with using Mcrypt
I'm trying to generate salt using Mcrypt's mcrypt_create_iv(), but it doesn't seems to work and I'm getting errors.
Here is my code:

hadi
- 21
- 5
-3
votes
1 answer
How to Remove Salt from DB?
okay I am trying to make a log in form to my website in C# it has md5 + salt.. the problem is salt. md5 I can make work but salt just won't work. I made a php that gets the user name, user group id's etc. I have removed tons of instances of salt in…

Lorance
- 17
- 4
-4
votes
1 answer
Can't Turn Hashed Password Byte Array Back Into String
I'm writing an authentication system with sign-up and all. The passwords are hashed with a salt. I've run into a problem where the implementation I'm using operates with the salt and the final hash being byte arrays. I cannot turn this back into…
user4158347
-5
votes
3 answers
Java encryption with sha256 and salt
I need a little help from you, I have an exercise , to do a login program and to store the password with sha-256 and salt, I made a part, but here it's the hard part. I've read that if you use sha-256 that you can't reverse the operation to…

Eratys
- 3
- 2
- 7
-6
votes
2 answers
decrypt password using salt
Code Here is encrypting password but How I decrypt it or Compare it to login in laravel
Code where used
getsql(md5($_POST['regpassword'] . SALT), "default"),

Kareimovich
- 591
- 1
- 7
- 18