时间:2021-07-01 10:21:17 帮助过:46人阅读
- function pkcs5_pad ($text, $blocksize)<br>
- {
- <br>
- $pad = $blocksize – (strlen($text) % $blocksize);<br>
- return $text . str_repeat(chr($pad), $pad);<br>
- }
- function pkcs5_pad($text, $blocksize){<br> $pad = $blocksize - (strlen($text) % $blocksize);<br> return $text . str_repeat(chr($pad), $pad);<br>}