I am quite confused as to why I am seeing different results for md5 hashing in PHP and in OpenSSL.
Here is the code that I am running:
php -r "echo md5('abc');"
Results in: 900150983cd24fb0d6963f7d28e17f72
While this:
echo abc | openssl md5
Results in: 0bee89b07a248e27c83fc3d5951213c1
Why?