how to make secure hash to send in ebs payment gateway

//Pass your Registered Secret Key $hashData = “Your Secret Key“; $hash = “ebskey”.”|”.urlencode($_POST[‘account_id’]).”|”.urlencode($_POST[‘amount’]).”|”.urlencode($_POST[‘reference_no’]).”|”.$_POST[‘return_url’].”|”.urlencode($_POST[‘mode’]); $secure_hash = md5($hash); // now pass $secure_hash secure hash to ebs .