Changed md5 to php hash api