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