Menu

## KICKASS_WRAPPER_PHP_SODIUM

KICKASS_WRAPPER_PHP_SODIUM.php : 35

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

KICKASS_WRAPPER_PHP_SODIUM.php : 53
`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()

KICKASS_WRAPPER_PHP_SODIUM.php : 75
`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()

KICKASS_WRAPPER_PHP_SODIUM.php : 37
`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()

KICKASS_WRAPPER_PHP_SODIUM.php : 59
`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