Use PHP5.5 hash API