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



sodium_crypto_aead_xchacha20poly1305_ietf_decrypt ›

Sincen/a
已弃用n/a
sodium_crypto_aead_xchacha20poly1305_ietf_decrypt ( $message, $assocData, $nonce, $key )
参数: (4)
  • (string) $message
    Required: Yes
  • (string) $assocData
    Required: Yes
  • (string) $nonce
    Required: Yes
  • (string) $key
    Required: Yes
查看:
  • ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_decrypt()
返回:
  • (string|bool)
定义在:
文档:

暂无描述



源码

function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt($message, $assocData, $nonce, $key)
    {
        try {
            return ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_decrypt($message, $assocData, $nonce, $key, true);
        } catch (Error $ex) {
            return false;
        } catch (Exception $ex) {
            return false;
        }
    }
}