PHP Conference Japan 2024

sodium_crypto_secretstream_xchacha20poly1305_pull

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretstream_xchacha20poly1305_pull從加密串流解密資料區塊

說明

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

從加密串流解密資料區塊。

參數

state

參見 sodium_crypto_secretstream_xchacha20poly1305_init_pull()sodium_crypto_secretstream_xchacha20poly1305_init_push()

ciphertext

要解密的密文區塊。

additional_data

要包含在驗證標籤中的選用額外資料。

回傳值

一個包含兩個值的陣列

新增註解

使用者貢獻的註解

此頁面沒有使用者貢獻的註解。
To Top