PHP Manußl | ||
---|---|---|
P°edchßzejφcφ | Dal╣φ |
The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x.
Mcrypt_ecb() encrypts or decrypts (depending on mode) the data with cipher and key in ECB cipher mode and returns the resulting string.
Cipher is one of the MCRYPT_ciphername constants.
Key is the key supplied to the algorithm. It must be kept secret.
Data is the data which shall be encrypted/decrypted.
Mode is MCRYPT_ENCRYPT or MCRYPT_DECRYPT.
See also: mcrypt_cbc(), mcrypt_cfb(), and mcrypt_ofb().
P°edchßzejφcφ | Dom∙ | Dal╣φ |
mcrypt_cfb | Nahoru | mcrypt_ofb |