- ksort: documentation ( source)
- join: documentation ( source)
- md5: documentation ( source)
<?php
$arr=array("account"=>"user12",
"date"=>"2012-10-01 12:32:00",
"paymentType"=>"mc",
"projectId"=>"519",
"sum"=>"10.00",
"sign"=>"9bdf52a4830779a1383ac24f1b3ed054",
"unitpayId"=>"1234567",
"profit"=>"10.00");
ksort($arr);
echo md5(join(null,$arr)."72aea83f179236740bdc640bb3e944fc");