SOAP vs REST Differences

Unfortunately, there are a lot of misinformation and misconceptions around REST. SOAP and REST can’t be compared directly, since the first is a protocol (or at least tries to be) and the second is an architectural style. This is probably one of the sources of confusion around it, since people tend to call REST any […]

read more

Encrypt and Decrypt md5 using PHP

You cannot decrypt MD5 without attempting something like brute force hacking which is extremely resource intensive, not practical, and unethical. However you could use something like this to encrypt / decrypt passwords/etc safely:   Using a encypted method with a salt would be even safer, but this would be a good next step past just […]

read more

Password Hashing in PHP

Most modern PHP applications access important user information and store them in a database. For example, web app might have a registration system for new users. But how should you store usernames and passwords in the database? You must always think about security. If passwords are stored in plain text, what happens if an attacker […]

read more