Home
last modified time | relevance | path

Searched refs:padLength (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php1102 * @param int $padLength
1106 private static function sha3_pad($padLength, $padType) argument
1110 $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 …]