Cybercash
PHP Manual

cybercash_encr

(PHP 4 <= 4.2.3, PECL cybercash:1.18)

cybercash_encr — Cybercash encrypt

Description

array cybercash_encr ( string $wmk , string $sk , string $inbuff )

Encrypts information.

Parameters

wmk

The merchant key.

sk

The session key.

inbuff

URL encoded string of value pairs, i.e. order-id=12345&amount=USD+12.34&card_number=......

Return Values

The function returns an associative array with the elements "errcode" and, if "errcode" is FALSE, "outbuff" (string), "outLth" (long) and "macbuff" (string).

See Also


Cybercash
PHP Manual
Affiliate Directory - Sign Up - Priviledged Members - Articles - Web Resources - Discussion - Contact Us - Link Exchange - HTML4 Manual - HTML3 Manual - PHP Manual