PHP - hashing example (sha256, sha1, md5)

sha256

$password = 'ghK$*Gl3';
echo hash('sha256', $password);
// output
// 6215da7f0e0b8fbf50e62fcf30755c5dd32b5c700ba361ce60fcb735d95db020

sha1

$password = 'ghK$*Gl3';
echo hash('sha1', $password);
// output
// b61911d4ef4d0a7e6e99d2d9d92b9ec80983e0c3

md5

$password = 'ghK$*Gl3';
echo hash('md5', $password);
// output
// db5f2f392736771a631bb2a8066d5d6e