Kickass Crypto

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

KICKASS_WRAPPER_PHP_SODIUM

2023-04-07 jj5 - thin wrappers around PHP functions for the Sodium 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_sodium_crypto_secretbox()  : mixed
do_php_sodium_crypto_secretbox_open()  : mixed
php_sodium_crypto_secretbox()  : mixed
php_sodium_crypto_secretbox_open()  : mixed

Methods

do_php_sodium_crypto_secretbox()

protected do_php_sodium_crypto_secretbox(mixed $plaintext, mixed $nonce, mixed $passphrase) : mixed
Parameters
$plaintext : mixed
$nonce : mixed
$passphrase : mixed
Return values
mixed

do_php_sodium_crypto_secretbox_open()

protected do_php_sodium_crypto_secretbox_open(mixed $plaintext, mixed $nonce, mixed $passphrase) : mixed
Parameters
$plaintext : mixed
$nonce : mixed
$passphrase : mixed
Return values
mixed

php_sodium_crypto_secretbox()

protected final php_sodium_crypto_secretbox(mixed $plaintext, mixed $nonce, mixed $passphrase) : mixed
Parameters
$plaintext : mixed
$nonce : mixed
$passphrase : mixed
Return values
mixed

php_sodium_crypto_secretbox_open()

protected final php_sodium_crypto_secretbox_open(mixed $plaintext, mixed $nonce, mixed $passphrase) : mixed
Parameters
$plaintext : mixed
$nonce : mixed
$passphrase : mixed
Return values
mixed

Search results