Adding hashing algorithms for versions of php, earlier than 5.5 .