Searched refs:padLength (Results 1 – 1 of 1) sorted by relevance
1102 * @param int $padLength1106 private static function sha3_pad($padLength, $padType) argument1110 $temp = chr(0x01) . str_repeat("\0", $padLength - 1);1111 $temp[$padLength - 1] = $temp[$padLength - 1] | chr(0x80);1114 $temp = chr(0x1F) . str_repeat("\0", $padLength - 1);1115 $temp[$padLength - 1] = $temp[$padLength - 1] | chr(0x80);1120 … return $padLength == 1 ? chr(0x86) : chr(0x06) . str_repeat("\0", $padLength - 2) . chr(0x80);1153 $padLength = $block_size - (strlen($p) % $block_size);1156 $p .= static::sha3_pad($padLength, $padType);1344 $padLength = $block_size - (strlen($p) % $block_size);[all …]