Syntax Syntax
Parameters Parameters
- $message
-
(Required)
- $assocData
-
(Required)
- $nonce
-
(Required)
- $key
-
(Required)
Return Return
(string|bool)
Source Source
File: wp-includes/sodium_compat/lib/php72compat.php
function sodium_crypto_aead_chacha20poly1305_decrypt($message, $assocData, $nonce, $key) { try { return ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt($message, $assocData, $nonce, $key); } catch (Error $ex) { return false; } catch (Exception $ex) { return false; } }