crypto_box_seal

The timeline below displays how wordpress function crypto_box_seal has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::crypto_box_seal_open()
 * @param string $message
 * @param string $publicKey
 * @return string
 * @throws \SodiumException
 * @throws \TypeError
 */
function crypto_box_seal($message, $publicKey)
{
    return ParagonIE_Sodium_Compat::crypto_box_seal($message, $publicKey);
}