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