sodium_unpad

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Remove padding data
<?php sodium_unpad(string $string, int $block_size): string