Mcrypt Funktionen
PHP Manual

mcrypt_cbc

(PHP 4, PHP 5)

mcrypt_cbcEntschlüsselt/Verschlüsselt Daten im CBC Modus

Warnung

This function was DEPRECATED in PHP 5.5.0, and REMOVED in PHP 7.0.0.

Alternatives to this function include:

Beschreibung

string mcrypt_cbc ( int $cipher , string $key , string $data , int $mode [, string $iv ] )
string mcrypt_cbc ( string $cipher , string $key , string $data , int $mode [, string $iv ] )

Der erste Prototyp ist in libmcrypt 2.2.x, der zweite in >=2.4.x. Der mode sollte entweder MCRYPT_ENCRYPT oder MCRYPT_DECRYPT sein.


Mcrypt Funktionen
PHP Manual