略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sodium_crypto_secretstream_xchacha20poly1305_pull

2025-02-27

sodium_crypto_secretstream_xchacha20poly1305_pull

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretstream_xchacha20poly1305_pullDecrypt a chunk of data from an encrypted stream

说明

sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $ciphertext, string $additional_data = ""): array|false

Decrypt a chunk of data from an encrypted stream.

参数

state

See sodium_crypto_secretstream_xchacha20poly1305_init_pull() and sodium_crypto_secretstream_xchacha20poly1305_init_push()

ciphertext

The ciphertext chunk to decrypt.

additional_data

Optional additional data to include in the authentication tag.

返回值

An array with two values:

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-pull.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3