/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | AES.php | 15 * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 136-bits 16 * it'll be null-padded to 192-bits and 192 bits will be the key length until {@link self::setKey() setKey()} 21 * however possible, won't do anything (AES has a fixed block length whereas Rijndael has a variable one). 63 * @param int $length 66 public function setBlockLength($length) 68 throw new \BadMethodCallException('The block length cannot be set for AES.'); 72 * Sets the key length 74 * Valid key lengths are 128, 192, and 256. Set the link to bool(false) to disable a fixed key length 77 * @param int $length 78 * @throws \LengthException if the key length is 70 setBlockLength($length) global() argument 85 setKeyLength($length) global() argument [all...] |
H A D | Random.php | 39 * @param int $length 43 public static function string($length) 45 if (!$length) { 50 return random_bytes($length); 171 //return $crypto->encrypt(str_repeat("\0", $length)); 182 while (strlen($result) < $length) { 189 return substr($result, 0, $length); 46 string($length) global() argument
|
H A D | TripleDES.php | 206 * Sets the key length. 213 * @throws \LengthException if the key length is invalid 214 * @param int $length 216 public function setKeyLength($length) 218 switch ($length) { 223 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys of sizes 128 or 192 bits are supported'); 226 parent::setKeyLength($length); 238 * @throws \LengthException if the key length is invalid 244 throw new \LengthException('Key length has already been set to ' . $this->explicit_key_length . ' bytes and this key is ' . strlen($key) . ' bytes'); 231 setKeyLength($length) global() argument
|
H A D | RC4.php | 124 * Sets the key length 128 * @param int $length 129 * @throws \LengthException if the key length is invalid 131 public function setKeyLength($length) 133 if ($length < 8 || $length > 2048) { 134 throw new \LengthException('Key size of ' . $length . ' bits is not supported by this algorithm. Only keys between 1 and 256 bytes are supported'); 137 $this->key_length = $length >> 3; 139 parent::setKeyLength($length); 143 * Sets the key length 207 setKeyLength($length) global() argument [all...] |
H A D | Rijndael.php | 12 * {@link self::setKey() setKey()}. ie. if the key is 128-bits, the key length will be 128-bits. If it's 13 * 136-bits it'll be null-padded to 192-bits and 192 bits will be the key length until 16 * Not all Rijndael implementations may support 160-bits or 224-bits as the block length / key length. mcrypt, for example, 174 * Sets the key length. 189 * @throws \LengthException if the key length is invalid 190 * @param int $length 192 public function setKeyLength($length) 194 switch ($length) { 200 $this->key_length = $length >> 191 setKeyLength($length) global() argument 222 setBlockLength($length) global() argument [all...] |
H A D | RSA.php | 116 * Uses sha256 and 0 as the salt length 202 * Modulus length 524 throw new \OutOfRangeException('Resultant string length out of range'); 549 * @throws \LengthException if the intended encoded message length is too short 590 throw new \LengthException('Intended encoded message length too short'); 649 throw new \LengthException('Intended encoded message length too short'); 774 * Determines the salt length 780 * Typical salt lengths in octets are hLen (the length of the output 793 * Returns the salt length currently being used 900 * multi-prime RSA nor is it used if the key length i 2149 _encodeLength($length) global() argument [all...] |
/dokuwiki/lib/scripts/ |
H A D | helpers.js | 8 * Supports negative start and length and omitting length, but not 12 function substr_replace(str, replace, start, length) { argument 14 a2 = (start < 0 ? str.length : 0) + start; 15 if (typeof length === 'undefined') { 16 length = str.length - a2; 17 } else if (length < 0 && start < 0 && length <= start) { 18 length [all...] |
H A D | textselection.js | 79 selection.obj.value.substring(selection.end, selection.obj.value.length); 84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length; 86 selection.end = selection.start + text.length; 117 if(text.charAt(text.length - 1) == ' '){ 126 startofs: tagOpen.length, 127 endofs: tagClose.length
|
H A D | qsearch.js | 32 if (dw_qsearch.$inObj.length === 0 || 33 dw_qsearch.$outObj.length === 0) { 132 var start, length, replace, nsL, nsR, eli, runaway; 149 length = 2; 153 length = 1; 159 length = 1; 163 replace, start, length);
|
H A D | page.js | 39 while ($tgt.length > 0 && !($tgt.hasClass('sectionedit' + nr) || $tgt.find('.sectionedit' + nr).length)) { 82 if($fndiv.length === 0){ 113 if (!$content.length) { 148 if(!$handle.length) return; 150 if(!$content.length) return;
|
H A D | media.js | 34 if (!$tree.length) return; 117 if ($options.length === 0) { 253 opts += (opts.length) ? '&' : '?'; 299 if (!$file.length || !$name.length) { 329 if ($content.length === 0) { 347 } else if ($link.closest('form').length > 0) { 361 if (!$form.length) return; 430 } else if ($link.closest('form').length > 0) { 472 if ($container.length [all...] |
H A D | locktimer.js | 32 if($edit.length === 0 || $edit.attr('readonly')) { 113 if(dw_locktimer.draft && jQuery('#dw__editform').find('textarea[name=wikitext]').length > 0){ 136 if (data.errors.length) {
|
H A D | behaviour.js | 74 if($obj.length) { 159 if (0 === $form.length) return; 195 if($checked.length < 2) { 219 if (!$checkDiv.length) return;
|
H A D | edit.js | 182 return 7 - s.match(/^={2,6}/)[0].length; 205 if($dwform.length === 0) { 228 if ($editform.length == 0) { 233 if ($edit_text.length > 0) { 292 if ($edit_text.length > 0) {
|
H A D | linkwiz.js | 93 if($obj.length > 0){ 138 if ($obj.length === 0) { 193 if(a.title == '' || a.title.substr(a.title.length-1) == ':'){ 225 if(stxt.charAt(stxt.length - 1) == ' '){ 240 var so = link.length; 244 so += dw_linkwiz.val.open.length; 254 eo = dw_linkwiz.val.close.length;
|
H A D | editor.js | 18 if($editor.length === 0) { 44 if($ctl.length === 0 || $textarea.length === 0) { 170 var spaces = match[1].length-1;
|
/dokuwiki/inc/Utf8/ |
H A D | PhpString.php | 72 * Return part of a string given character offset (and optionally length) 76 * @param int $length (optional) length in UTF-8 characters from offset 82 public static function substr($str, $offset, $length = null) 85 if ($length === null) { 89 return mb_substr($str, $offset, $length); 97 * offset and length, we'll repeat a group of 65535 characters when needed (ok, up to MAXINT-65536) 99 * substr documentation states false can be returned in some cases (e.g. offset > string length) 103 * we only carry it out when necessary. It isn't necessary for +ve offsets and no specified length 109 if ($length ! 83 substr($str, $offset, $length = null) global() argument 190 substr_replace($string, $replacement, $start, $length = 0) global() argument [all...] |
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
H A D | FeedCreator.php | 88 * Truncates a string to a certain length at the most sensible point. 92 * If the string is already shorter than $length, it is returned unchanged. 95 * @param int $length the maximum length the string should be truncated to argument 98 public static function iTrunc($string, $length) 100 if (strlen($string) <= $length) { 105 if ($pos >= $length - 4) { 106 $string = substr($string, 0, $length - 4); 109 if ($pos >= $length * 0.4) { 114 if ($pos >= $length [all...] |
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/ |
H A D | Identity.php | 281 $length = current(unpack('N', $this->readBytes(4))); 282 $packet = $this->readBytes($length);
|
/dokuwiki/lib/tpl/dokuwiki/ |
H A D | script.js | 41 if($handle.length) { 45 if($toc.length) { 51 if($handle.length) { 55 if($toc.length) { 73 // increase sidebar length to match content (desktop mode only)
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/ |
H A D | Agent.php | 169 $length = current(unpack('N', $this->readBytes(4))); 170 $packet = $this->readBytes($length);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ |
H A D | ASN1.php | 172 * size == 0 indicates variable length encoding. 215 * self::TYPE_OCTET_STRING. In those cases, the indefinite length is used. 261 $length = ord($encoded[$encoded_pos++]); 263 if ($length == 0x80) { // indefinite length 266 $length = strlen($encoded) - $encoded_pos; 267 } elseif ($length & 0x80) { // definite length, long form 268 // technically, the long form of the length can be represented by up to 126 octets (bytes), but we'll only 270 $length 1150 _encodeLength($length) global() argument [all...] |
/dokuwiki/lib/plugins/styling/ |
H A D | script.js | 15 if (!$loader.length) { 46 if (!$styling_plugin.length) {
|
/dokuwiki/vendor/splitbrain/php-cli/src/ |
H A D | TableFormatter.php | 232 * Pad the given string to the correct length 248 * Measures char length in UTF-8 when possible 268 * @param int|null $length 271 protected function substr($string, $start = 0, $length = null) argument 274 return mb_substr($string, $start, $length); 276 // mb_substr() treats $length differently than substr() 277 if ($length) { 278 return substr($string, $start, $length);
|
/dokuwiki/lib/plugins/extension/ |
H A D | script.js | 28 if(!$lightbox.length){ 55 extension = extension.substr(0, extension.length - 1); 97 if($details.length){
|