Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 РЕКЛАМА

 ПОДПИСКА

 ССЫЛКИ
Colocation
Скоростной интернет
Бесплатный интернет
Wi-Fi
Работа в Киеве
Доставка цветов
Мобильные телефоны
VoIP Billing
Музыка и фильмы
AS numbers, IP addresses
Стройматериалы, инструменты
Flowers delivery Kiev

 АНКЕТА
Как Вам ODS?

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.

 РЕКЛАМА

[Links] [Работа в Киеве] [mp3] [Рефераты] [WiFiver.com
mcrypt_ecb

mcrypt_ecb

(PHP3 >= 3.0.8, PHP4 )

mcrypt_ecb -- Encrypt/decrypt data in ECB mode

Description

string mcrypt_ecb (int cipher, string key, string data, int mode)

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

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().



With any suggestions or questions please feel free to contact us