PHP 8.4.2 Released!

sodium_unpad

(PHP 7 >= 7.2.0, PHP 8)

sodium_unpadRemove padding data

说明

sodium_unpad(#[\SensitiveParameter] string $string, int $block_size): string

Unpad a padded string. Timing-safe.

参数

string

Padded string.

block_size

The block size for padding.

返回值

Unpadded string.

添加备注

用户贡献的备注

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