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