Syntax Syntax
Parameters Parameters
- $message
-
(Required)
- $kp
-
(Required)
Return Return
(string|bool)
Source Source
File: wp-includes/sodium_compat/lib/php72compat.php
function sodium_crypto_box_seal_open($message, $kp) { try { return ParagonIE_Sodium_Compat::crypto_box_seal_open($message, $kp); } catch (SodiumException $ex) { if ($ex->getMessage() === 'Argument 2 must be CRYPTO_BOX_KEYPAIRBYTES long.') { throw $ex; } return false; } }