Query: openssl_encrypt
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OPENSSL_ENCRYPT(3) 1 OPENSSL_ENCRYPT(3) openssl_encrypt - Encrypts dataSYNOPSISstring openssl_encrypt (string $data, string $method, string $password, [int $options], [string $iv = ""])DESCRIPTIONEncrypts given data with given method and key, returns a raw or base64 encoded string Warning This function is currently not documented; only its argument list is available.PARAMETERSo $data - The data. o $method - The cipher method. o $password - The password. o $options -$options can be one of OPENSSL_RAW_DATA, OPENSSL_ZERO_PADDING. o $iv - A non-NULL Initialization Vector.RETURN VALUESReturns the encrypted string on success or FALSE on failure.ERRORS/EXCEPTIONS Emits an E_WARNING level error if an unknown cipher algorithm is passed in via the $method parameter. Emits an E_WARNING level error if an empty value is passed in via the $iv parameter.CHANGELOG+--------+-------------------------------------------+ |Version | | | | | | | Description | | | | +--------+-------------------------------------------+ | 5.3.3 | | | | | | | The $iv parameter was added. | | | | | 5.4.0 | | | | | | | The $raw_output was changed to $options. | | | | +--------+-------------------------------------------+SEE ALSOopenssl_decrypt(3). PHP Documentation Group OPENSSL_ENCRYPT(3)
Related Man Pages |
---|
openssl_decrypt(3) - php |
hash_pbkdf2(3) - php |
openssl_spki_export(3) - php |
openssl_spki_new(3) - php |
streamwrapper.stream_lock(3) - php |
Similar Topics in the Unix Linux Community |
---|
Help with password 'maintenance' or maybe I just need to generate ssh keys? |