Kickass Crypto

Find us on GitHub: https://github.com/jj5/kickass-crypto.

KICKASS_WRAPPER_PHP_OPENSSL

2023-04-07 jj5 - thin wrappers around PHP functions for the OpenSSL library.

2023-04-07 jj5 - the functions in this trait are implemented using the typed final wrapper idiom discussed at the following link:

Tags
link

2023-04-07 jj5 - this file doesn't extensively document itself as the relevant reference is the PHP documentation for the relevant function.

Table of Contents

do_php_openssl_cipher_iv_length()  : mixed
do_php_openssl_decrypt()  : mixed
do_php_openssl_encrypt()  : mixed
do_php_openssl_error_string()  : mixed
do_php_openssl_get_cipher_methods()  : mixed
php_openssl_cipher_iv_length()  : mixed
php_openssl_decrypt()  : mixed
php_openssl_encrypt()  : mixed
php_openssl_error_string()  : mixed
php_openssl_get_cipher_methods()  : mixed

Methods

do_php_openssl_cipher_iv_length()

protected do_php_openssl_cipher_iv_length(mixed $cipher) : mixed
Parameters
$cipher : mixed
Return values
mixed

do_php_openssl_decrypt()

protected do_php_openssl_decrypt(mixed $ciphertext, mixed $cipher, mixed $passphrase, mixed $options, mixed $iv, mixed $tag) : mixed
Parameters
$ciphertext : mixed
$cipher : mixed
$passphrase : mixed
$options : mixed
$iv : mixed
$tag : mixed
Return values
mixed

do_php_openssl_encrypt()

protected do_php_openssl_encrypt(mixed $plaintext, mixed $cipher, mixed $passphrase, mixed $options, mixed $iv, mixed &$tag) : mixed
Parameters
$plaintext : mixed
$cipher : mixed
$passphrase : mixed
$options : mixed
$iv : mixed
$tag : mixed
Return values
mixed

php_openssl_cipher_iv_length()

protected final php_openssl_cipher_iv_length(mixed $cipher) : mixed
Parameters
$cipher : mixed
Return values
mixed

php_openssl_decrypt()

protected final php_openssl_decrypt(mixed $ciphertext, mixed $cipher, mixed $passphrase, mixed $options, mixed $iv, mixed $tag) : mixed
Parameters
$ciphertext : mixed
$cipher : mixed
$passphrase : mixed
$options : mixed
$iv : mixed
$tag : mixed
Return values
mixed

php_openssl_encrypt()

protected final php_openssl_encrypt(mixed $plaintext, mixed $cipher, mixed $passphrase, mixed $options, mixed $iv, mixed &$tag) : mixed
Parameters
$plaintext : mixed
$cipher : mixed
$passphrase : mixed
$options : mixed
$iv : mixed
$tag : mixed
Return values
mixed

Search results