new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

OWASP Cheat Sheets · all subjects

authentication/password_verification

1 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Password comparison function requirements

Where possible, compare user-supplied passwords to stored password hash using a secure password comparison function provided by the language or framework, such as password_verify() in PHP. Where this is not possible, the comparison function must: have a maximum input length to protect against denial of service attacks with very long inputs; explicitly set the type of both variables to protect against type confusion attacks such as Magic Hashes in PHP; and return in constant time to protect against timing attacks.

Give your agent this brain