2021-03-08 01:07:47 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>Documentation</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<base href="../">
|
|
|
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
|
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
|
|
|
<link rel="stylesheet" href="css/base.css">
|
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
|
|
|
<link rel="stylesheet" href="css/template.css">
|
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
|
|
|
|
<script src="js/search.js"></script>
|
|
|
|
|
<script defer src="js/searchIndex.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body id="top">
|
|
|
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
|
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
|
|
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
|
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
|
|
|
<i class="fas fa-bars"></i>
|
|
|
|
|
</label>
|
|
|
|
|
<section data-search-form class="phpdocumentor-search">
|
|
|
|
|
<label>
|
|
|
|
|
<span class="visually-hidden">Search for</span>
|
|
|
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
|
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
|
|
|
</svg>
|
|
|
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
|
|
|
</label>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
|
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<main class="phpdocumentor">
|
|
|
|
|
<div class="phpdocumentor-section">
|
|
|
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
|
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
|
|
|
Menu
|
|
|
|
|
</label>
|
|
|
|
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
|
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
|
|
|
<h3 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/default.html"><abbr title="\">Global</abbr></a></h3>
|
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/phpoffice.html"><abbr title="\PhpOffice">PhpOffice</abbr></a></h4>
|
|
|
|
|
<ul class="phpdocumentor-list">
|
|
|
|
|
<li><a href="namespaces/phpoffice-phpword.html"><abbr title="\PhpOffice\PhpWord">PhpWord</abbr></a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
|
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
|
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
|
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
|
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
|
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
|
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
|
|
|
</section>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
|
|
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
|
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice.html">PhpOffice</a></li>
|
|
|
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice-phpword.html">PhpWord</a></li>
|
|
|
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice-phpword-shared.html">Shared</a></li>
|
|
|
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice-phpword-shared-microsoft.html">Microsoft</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
|
|
|
<h2 class="phpdocumentor-content__title">
|
|
|
|
|
PasswordEncoder
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">23</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Password encoder for microsoft office applications.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
|
|
|
Table of Contents
|
|
|
|
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_HMAC">ALGORITHM_HMAC</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'HMAC' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MAC">ALGORITHM_MAC</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'MAC' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MD2">ALGORITHM_MD2</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'MD2' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MD4">ALGORITHM_MD4</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'MD4' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MD5">ALGORITHM_MD5</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'MD5' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_RIPEMD">ALGORITHM_RIPEMD</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'RIPEMD' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_RIPEMD_160">ALGORITHM_RIPEMD_160</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'RIPEMD-160' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_1">ALGORITHM_SHA_1</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'SHA-1' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_256">ALGORITHM_SHA_256</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'SHA-256' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_384">ALGORITHM_SHA_384</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'SHA-384' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_512">ALGORITHM_SHA_512</a>
|
|
|
|
|
<span>
|
|
|
|
|
= 'SHA-512' </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_algorithmMapping">$algorithmMapping</a>
|
|
|
|
|
<span>
|
|
|
|
|
: array<string|int, mixed> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Mapping between algorithm name and algorithm ID.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_encryptionMatrix">$encryptionMatrix</a>
|
|
|
|
|
<span>
|
|
|
|
|
: mixed </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_initialCodeArray">$initialCodeArray</a>
|
|
|
|
|
<span>
|
|
|
|
|
: mixed </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_passwordMaxLength">$passwordMaxLength</a>
|
|
|
|
|
<span>
|
|
|
|
|
: mixed </span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_getAlgorithmId">getAlgorithmId()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Returns the algorithm ID.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_hashPassword">hashPassword()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Create a hashed password that MS Word will be able to work with.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_buildCombinedKey">buildCombinedKey()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Build combined key from low-order word and high-order word.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_getAlgorithm">getAlgorithm()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get algorithm from self::$algorithmMapping.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_int32">int32()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Simulate behaviour of (signed) int32.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-constants">
|
|
|
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
|
|
|
|
Constants
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h3>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_HMAC">
|
|
|
|
|
ALGORITHM_HMAC
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_HMAC" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">35</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_HMAC</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'HMAC'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_MAC">
|
|
|
|
|
ALGORITHM_MAC
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MAC" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_MAC</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'MAC'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_MD2">
|
|
|
|
|
ALGORITHM_MD2
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MD2" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_MD2</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'MD2'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_MD4">
|
|
|
|
|
ALGORITHM_MD4
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MD4" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">26</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_MD4</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'MD4'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_MD5">
|
|
|
|
|
ALGORITHM_MD5
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_MD5" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">27</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_MD5</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'MD5'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_RIPEMD">
|
|
|
|
|
ALGORITHM_RIPEMD
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_RIPEMD" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">32</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_RIPEMD</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'RIPEMD'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_RIPEMD_160">
|
|
|
|
|
ALGORITHM_RIPEMD_160
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_RIPEMD_160" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">33</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_RIPEMD_160</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'RIPEMD-160'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_SHA_1">
|
|
|
|
|
ALGORITHM_SHA_1
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_1" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_SHA_1</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'SHA-1'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_SHA_256">
|
|
|
|
|
ALGORITHM_SHA_256
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_256" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">29</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_SHA_256</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'SHA-256'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_SHA_384">
|
|
|
|
|
ALGORITHM_SHA_384
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_384" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_SHA_384</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'SHA-384'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM_SHA_512">
|
|
|
|
|
ALGORITHM_SHA_512
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#constant_ALGORITHM_SHA_512" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">31</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">ALGORITHM_SHA_512</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'SHA-512'</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
|
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
|
|
|
Properties
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h3>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_algorithmMapping">
|
|
|
|
|
$algorithmMapping
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_algorithmMapping" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
|
|
|
</span>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Mapping between algorithm name and algorithm ID.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$algorithmMapping</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
= <span class="phpdocumentor-signature__default-value">[
|
|
|
|
|
self::ALGORITHM_MD2 => [1, 'md2'],
|
|
|
|
|
self::ALGORITHM_MD4 => [2, 'md4'],
|
|
|
|
|
self::ALGORITHM_MD5 => [3, 'md5'],
|
|
|
|
|
self::ALGORITHM_SHA_1 => [4, 'sha1'],
|
|
|
|
|
self::ALGORITHM_MAC => [5, ''],
|
2021-03-08 01:07:47 +00:00
|
|
|
// 'mac' -> not possible with hash()
|
2022-11-15 20:28:31 +00:00
|
|
|
self::ALGORITHM_RIPEMD => [6, 'ripemd'],
|
|
|
|
|
self::ALGORITHM_RIPEMD_160 => [7, 'ripemd160'],
|
|
|
|
|
self::ALGORITHM_HMAC => [9, ''],
|
2021-03-08 01:07:47 +00:00
|
|
|
//'hmac' -> not possible with hash()
|
2022-11-15 20:28:31 +00:00
|
|
|
self::ALGORITHM_SHA_256 => [12, 'sha256'],
|
|
|
|
|
self::ALGORITHM_SHA_384 => [13, 'sha384'],
|
|
|
|
|
self::ALGORITHM_SHA_512 => [14, 'sha512'],
|
|
|
|
|
]</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
|
|
|
Tags
|
|
|
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h5>
|
|
|
|
|
<dl class="phpdocumentor-tag-list">
|
|
|
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
|
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
<span class="phpdocumentor-tag-link"><a href="https://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.writeprotection.cryptographicalgorithmsid(v=office.14).aspx"><abbr title="https://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.writeprotection.cryptographicalgorithmsid(v=office.14).aspx">https://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.writeprotection.cryptographicalgorithmsid(v=office.14).aspx</abbr></a></span>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_encryptionMatrix">
|
|
|
|
|
$encryptionMatrix
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_encryptionMatrix" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
|
|
|
</span>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">76</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$encryptionMatrix</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
= <span class="phpdocumentor-signature__default-value">[[0xaefc, 0x4dd9, 0x9bb2, 0x2745, 0x4e8a, 0x9d14, 0x2a09], [0x7b61, 0xf6c2, 0xfda5, 0xeb6b, 0xc6f7, 0x9dcf, 0x2bbf], [0x4563, 0x8ac6, 0x5ad, 0xb5a, 0x16b4, 0x2d68, 0x5ad0], [0x375, 0x6ea, 0xdd4, 0x1ba8, 0x3750, 0x6ea0, 0xdd40], [0xd849, 0xa0b3, 0x5147, 0xa28e, 0x553d, 0xaa7a, 0x44d5], [0x6f45, 0xde8a, 0xad35, 0x4a4b, 0x9496, 0x390d, 0x721a], [0xeb23, 0xc667, 0x9cef, 0x29ff, 0x53fe, 0xa7fc, 0x5fd9], [0x47d3, 0x8fa6, 0xf6d, 0x1eda, 0x3db4, 0x7b68, 0xf6d0], [0xb861, 0x60e3, 0xc1c6, 0x93ad, 0x377b, 0x6ef6, 0xddec], [0x45a0, 0x8b40, 0x6a1, 0xd42, 0x1a84, 0x3508, 0x6a10], [0xaa51, 0x4483, 0x8906, 0x22d, 0x45a, 0x8b4, 0x1168], [0x76b4, 0xed68, 0xcaf1, 0x85c3, 0x1ba7, 0x374e, 0x6e9c], [0x3730, 0x6e60, 0xdcc0, 0xa9a1, 0x4363, 0x86c6, 0x1dad], [0x3331, 0x6662, 0xccc4, 0x89a9, 0x373, 0x6e6, 0xdcc], [0x1021, 0x2042, 0x4084, 0x8108, 0x1231, 0x2462, 0x48c4]]</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_initialCodeArray">
|
|
|
|
|
$initialCodeArray
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_initialCodeArray" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
|
|
|
</span>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">58</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$initialCodeArray</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
= <span class="phpdocumentor-signature__default-value">[0xe1f0, 0x1d0f, 0xcc9c, 0x84c0, 0x110c, 0xe10, 0xf1ce, 0x313e, 0x1872, 0xe139, 0xd40f, 0x84f9, 0x280c, 0xa96a, 0x4ec3]</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_passwordMaxLength">
|
|
|
|
|
$passwordMaxLength
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#property_passwordMaxLength" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
|
|
|
</span>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">94</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$passwordMaxLength</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">15</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-methods">
|
|
|
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
|
|
|
Methods
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h3>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getAlgorithmId">
|
|
|
|
|
getAlgorithmId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_getAlgorithmId" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">176</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Returns the algorithm ID.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getAlgorithmId</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$algorithmName</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$algorithmName</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_hashPassword">
|
|
|
|
|
hashPassword()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_hashPassword" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">108</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Create a hashed password that MS Word will be able to work with.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">hashPassword</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$algorithmName</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::ALGORITHM_SHA_1</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$salt</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$spinCount</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">10000</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$password</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$algorithmName</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">self::ALGORITHM_SHA_1</span> </dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$salt</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$spinCount</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">10000</span> </dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
|
|
|
Tags
|
|
|
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h5>
|
|
|
|
|
<dl class="phpdocumentor-tag-list">
|
|
|
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
|
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
<span class="phpdocumentor-tag-link"><a href="https://blogs.msdn.microsoft.com/vsod/2010/04/05/how-to-set-the-editing-restrictions-in-word-using-open-xml-sdk-2-0/"><abbr title="https://blogs.msdn.microsoft.com/vsod/2010/04/05/how-to-set-the-editing-restrictions-in-word-using-open-xml-sdk-2-0/">https://blogs.msdn.microsoft.com/vsod/2010/04/05/how-to-set-the-editing-restrictions-in-word-using-open-xml-sdk-2-0/</abbr></a></span>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_buildCombinedKey">
|
|
|
|
|
buildCombinedKey()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_buildCombinedKey" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">188</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Build combined key from low-order word and high-order word.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">buildCombinedKey</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$byteChars</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$byteChars</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"><p>byte array representation of password</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getAlgorithm">
|
|
|
|
|
getAlgorithm()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_getAlgorithm" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">159</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get algorithm from self::$algorithmMapping.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getAlgorithm</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$algorithmName</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$algorithmName</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-private
|
|
|
|
|
-static "
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_int32">
|
|
|
|
|
int32()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#method_int32" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h4>
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php"><a href="files/src-phpword-shared-microsoft-passwordencoder.html"><abbr title="src/PhpWord/Shared/Microsoft/PasswordEncoder.php">PasswordEncoder.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">233</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Simulate behaviour of (signed) int32.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">int32</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
|
|
|
Tags
|
|
|
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
</h5>
|
|
|
|
|
<dl class="phpdocumentor-tag-list">
|
|
|
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
|
|
|
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
|
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
|
|
|
<header class="phpdocumentor-search-results__header">
|
|
|
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
|
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
|
|
|
</header>
|
|
|
|
|
<section class="phpdocumentor-search-results__body">
|
|
|
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Shared-Microsoft-PasswordEncoder.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
|
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
cssVars({});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|