Manual do PHP
Anterior |  | Próxima

# cybercash_encr

(PHP 4 <= 4.2.3, PECL)

cybercash_encr -- Cybercash encrypt

## Descrição

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

Encrypts information.

## Parâmetros

`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=.....`.

## Valores de retornado

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

## Veja também

cybercash_decr()

Anterior | Principal | Próxima
cybercash_decr | Acima | Credit Mutuel CyberMUT functions