Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

openssl_pbkdf2(3) [php man page]

OPENSSL_PBKDF2(3)							 1							 OPENSSL_PBKDF2(3)

openssl_pbkdf2 - Generates a PKCS5 v2 PBKDF2 string, defaults to SHA-1

SYNOPSIS
string openssl_pbkdf2 (string $password, string $salt, int $key_length, int $iterations, [string $digest_algorithm]) DESCRIPTION
Warning This function is currently not documented; only its argument list is available. PARAMETERS
o $password - o $salt - o $key_length - o $iterations - o $digest_algorithm - RETURN VALUES
Returns string or FALSE on failure. PHP Documentation Group OPENSSL_PBKDF2(3)

Check Out this Related Man Page

OPENSSL_ENCRYPT(3)							 1							OPENSSL_ENCRYPT(3)

openssl_encrypt - Encrypts data

SYNOPSIS
string openssl_encrypt (string $data, string $method, string $password, [int $options], [string $iv = ""]) DESCRIPTION
Encrypts 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. PARAMETERS
o $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 VALUES
Returns 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 ALSO
openssl_decrypt(3). PHP Documentation Group OPENSSL_ENCRYPT(3)
Man Page