Searched refs:padLength (Results 1 – 1 of 1) sorted by relevance
1191 * @param int $padLength1195 private static function sha3_pad($padLength, $padType) argument1199 $temp = chr(0x01) . str_repeat("\0", $padLength - 1);1200 $temp[$padLength - 1] = $temp[$padLength - 1] | chr(0x80);1203 $temp = chr(0x1F) . str_repeat("\0", $padLength - 1);1204 $temp[$padLength - 1] = $temp[$padLength - 1] | chr(0x80);1209 … return $padLength == 1 ? chr(0x86) : chr(0x06) . str_repeat("\0", $padLength - 2) . chr(0x80);1242 $padLength = $block_size - (strlen($p) % $block_size);1245 $p .= static::sha3_pad($padLength, $padType);1433 $padLength = $block_size - (strlen($p) % $block_size);[all …]