commit
56a94cfbc4
|
@ -1036,4 +1036,4 @@ function pkcs5_unpad($text){
|
||||||
function pkcs5_pad($text, $block = 8){
|
function pkcs5_pad($text, $block = 8){
|
||||||
$pad = $block - (strlen($text) % $block);
|
$pad = $block - (strlen($text) % $block);
|
||||||
return $text . str_repeat(chr($pad), $pad);
|
return $text . str_repeat(chr($pad), $pad);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue