WordPress at a glance
function is not described

Sodium

crypto_secretbox() WP 1.0

No Hooks.

Return

String. Null. Nothing.

Usage

crypto_secretbox( $message, $nonce, $key );
$message(string) (required)
-
$nonce(string) (required)
-
$key(string) (required)
-

Notes

  • See: ParagonIE_Sodium_Compat::crypto_secretbox()

Code of crypto_secretbox() WP 5.7

<?php
function crypto_secretbox($message, $nonce, $key)
{
    return ParagonIE_Sodium_Compat::crypto_secretbox($message, $nonce, $key);
}