Tag Archives: algorithms

General Problem Solving

General problem solving (GPS) involves solving every kind of problem in a satisfactory manner. This includes steps referred to as the “problem-solving cycle.” These are steps used in order until a satisfactory solution is found. How acceptable the solution depends on personal judgment. Five of the most common processes and factors that researchers have identified… Read More »

Why does PHP’s password_hash() output change each time the same password is hashed?

Nota bene: the hash() algorithm in this article has been slightly altered so that the code below doesn’t work. This is intentional: this code should not be used for secure hashing as it is merely a demonstration of why the same password can generate a different hash. The hash for a password should change each… Read More »