Top "Passwords" questions

Passwords are primarily used as a way of accessing information and also limiting the number of users who can get access to a machine.

Salting Your Password: Best Practices?

I've always been curious... Which is better when salting a password for hashing: prefix, or postfix? Why? Or does it …

hash cryptography passwords salt
Should I impose a maximum length on passwords?

I can understand that imposing a minimum length on passwords makes a lot of sense (to save users from themselves), …

security encryption passwords
Hide/Show Password in a JTextFIeld (Java Swing)

So I've been working on a Password Strength Checker and the way it works is that the user enters some …

java swing passwords jtextfield
Creating user with encrypted password in PostgreSQL

Is it possible to create a user in PostgreSQL without providing the plain text password (ideally, I would like to …

postgresql passwords sha plaintext
Is "double hashing" a password less secure than just hashing it once?

Is hashing a password twice before storage any more or less secure than just hashing it once? What I'm talking …

security hash passwords cryptography password-hash
Read password from stdin

Scenario: An interactive CLI Python program, that is in need for a password. That means also, there's no GUI solution …

python passwords prompt interactive
How to reset password with UserManager of ASP.NET MVC 5

I am wondering if there is a way to reset password with UserManager of ASP.NET MVC 5 I tried this …

c# passwords asp.net-mvc-5 reset-password usermanager
Create preg_match for password validation allowing (!@#$%)

I would like to create a preg_match function to validate my passowrds, but I'm not sure how to write …

php regex passwords preg-match
How to create a Bruteforce password cracker for alphabetical and alphanumerical passwords?

I need to make small programs for school to brute force crack different types of passwords; I'm looking to create …

python passwords brute-force cracking
Check SQL database if value exists and then return value if it does

I am pretty new to both php and SQL. I have a login page where I ask for the users …

php sql database passwords username