WordPress开发者和主题制作者的搜索引擎



sodium_crypto_box_seal_open ›

Sincen/a
已弃用n/a
sodium_crypto_box_seal_open ( $message, $kp )
参数: (2)
  • (string) $message
    Required: Yes
  • (string) $kp
    Required: Yes
查看:
返回:
  • (string|bool)
定义在:
文档:

暂无描述



源码

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;
        }
    }
}