Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

checksum

0 views
Skip to first unread message

Chris Alsop

unread,
Jun 28, 2001, 1:34:19 PM6/28/01
to
hello. i need to create an md5 checksum for firstpay.net. is the php md5
function in hex? here is an excerpt from the docs i got from them:

The "authenticator" is created by generating an MD5 checksum (in
hexadecimal) on a string created by concatenating the following fields (in
the order specified):

1.A secret merchant identifier that will be issued by First American Payment
Systems to each FirstPay.Net merchant.
2.The merchant field above.
3.The ticket field above.
4.The amount field above.


any help would be appreciated.


jbp

unread,
Jun 28, 2001, 1:54:32 PM6/28/01
to

$secret_merchant_id = blah;
$merchant = foo;
$ticket = bar;
$amount = baz;

echo md5($secret_merchant_id.$merchant.$ticket.$amount);

--
Joseph Birr-Pixton .:|:. http://ifihada.com .:|:. ICQ#40675236

0 new messages