mirror of
https://github.com/danog/fast-srp.git
synced 2024-11-26 11:54:45 +01:00
Update docs
This commit is contained in:
parent
3aaeb5b749
commit
3e1ddc35e0
@ -1616,6 +1616,12 @@ pre code {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1em 0;
|
||||
padding-left: 1em;
|
||||
border-left: 4px solid gray;
|
||||
}
|
||||
|
||||
.tsd-typography {
|
||||
line-height: 1.333em;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -108,7 +108,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L397">srp.ts:397</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L396">srp.ts:396</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -171,7 +171,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L477">srp.ts:477</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L476">srp.ts:476</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -203,7 +203,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L433">srp.ts:433</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L432">srp.ts:432</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -225,7 +225,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L488">srp.ts:488</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L487">srp.ts:487</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -247,7 +247,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L464">srp.ts:464</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L463">srp.ts:463</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -270,7 +270,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L442">srp.ts:442</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L441">srp.ts:441</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -120,7 +120,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L531">srp.ts:531</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L530">srp.ts:530</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -171,7 +171,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L546">srp.ts:546</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L545">srp.ts:545</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@ -191,7 +191,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L547">srp.ts:547</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L546">srp.ts:546</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@ -216,10 +216,10 @@
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||
<a name="_k" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> _K</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_K<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></div>
|
||||
<div class="tsd-signature tsd-kind-icon">_K<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L523">srp.ts:523</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L522">srp.ts:522</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -231,30 +231,30 @@
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||
<a name="_m1" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> _<wbr>M1</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_<wbr>M1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></div>
|
||||
<div class="tsd-signature tsd-kind-icon">_<wbr>M1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L525">srp.ts:525</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L524">srp.ts:524</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||
<a name="_m2" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> _<wbr>M2</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_<wbr>M2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></div>
|
||||
<div class="tsd-signature tsd-kind-icon">_<wbr>M2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L526">srp.ts:526</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L525">srp.ts:525</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||
<a name="_s" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> _S</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_S<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></div>
|
||||
<div class="tsd-signature tsd-kind-icon">_S<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L531">srp.ts:531</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L530">srp.ts:530</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -266,10 +266,10 @@
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||
<a name="_u" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> _u</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_u<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">BigInteger</span></div>
|
||||
<div class="tsd-signature tsd-kind-icon">_u<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigInteger</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L529">srp.ts:529</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L528">srp.ts:528</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -291,7 +291,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L645">srp.ts:645</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L644">srp.ts:644</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -322,7 +322,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L615">srp.ts:615</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L614">srp.ts:614</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -344,7 +344,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L659">srp.ts:659</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L658">srp.ts:658</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -366,7 +366,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L672">srp.ts:672</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L671">srp.ts:671</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
@ -389,7 +389,7 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L624">srp.ts:624</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L623">srp.ts:623</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div class="tsd-page-title">
|
||||
<div class="container">
|
||||
<h1>Project fast-srp-hap</h1>
|
||||
<h1>fast-srp-hap</h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@ -67,7 +67,7 @@
|
||||
<a href="https://coveralls.io/github/homebridge/fast-srp?branch=master"><img src="https://coveralls.io/repos/github/homebridge/fast-srp/badge.svg?branch=master" alt="Coverage Status"></a></p>
|
||||
<p>Is a pure <a href="https://nodejs.org/">NodeJS</a> implementation of the <a href="http://srp.stanford.edu/">SRP6a protocol</a>.</p>
|
||||
<p>It's a derived work of <a href="http://jedparsons.com/">Jed Parson</a>'s <a href="https://github.com/jedp/node-srp">node-srp</a> and <a href="http://www-cs-students.stanford.edu/~tjw/">Tom Wu</a>'s <a href="http://www-cs-students.stanford.edu/~tjw/jsbn/">jsbn</a>.</p>
|
||||
<p>Full documentation can be found <a href="https://developers.homebridge.io/fast-srp/globals.html">here</a>.</p>
|
||||
<p>Full documentation can be found <a href="https://developers.homebridge.io/fast-srp/modules.html">here</a>.</p>
|
||||
<a href="#creating-the-verifier" id="creating-the-verifier" style="color: inherit; text-decoration: none;">
|
||||
<h2>Creating the Verifier</h2>
|
||||
</a>
|
||||
@ -82,7 +82,7 @@
|
||||
<span style="color: #008000"> */</span>
|
||||
<span style="color: #0000FF">async</span><span style="color: #000000"> </span><span style="color: #0000FF">function</span><span style="color: #000000"> </span><span style="color: #795E26">srp6a_create_user</span><span style="color: #000000">(</span><span style="color: #001080">I</span><span style="color: #000000">: </span><span style="color: #267F99">string</span><span style="color: #000000">, </span><span style="color: #001080">P</span><span style="color: #000000">: </span><span style="color: #267F99">string</span><span style="color: #000000">) {</span>
|
||||
<span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">salt</span><span style="color: #000000"> = </span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #0070C1">SRP</span><span style="color: #000000">.</span><span style="color: #795E26">genKey</span><span style="color: #000000">(</span><span style="color: #098658">32</span><span style="color: #000000">);</span>
|
||||
|
||||
<span style="color: #000000"> </span>
|
||||
<span style="color: #000000"> </span><span style="color: #AF00DB">return</span><span style="color: #000000"> {</span>
|
||||
<span style="color: #000000"> </span><span style="color: #008000">// The salt is required for authenticating the user later</span>
|
||||
<span style="color: #000000"> </span><span style="color: #001080">salt</span><span style="color: #000000">,</span>
|
||||
@ -108,7 +108,7 @@
|
||||
<span style="color: #000000"> </span><span style="color: #008000">// If we have the plaintext password</span>
|
||||
<span style="color: #000000"> </span><span style="color: #001080">salt:</span><span style="color: #000000"> </span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #0070C1">SRP</span><span style="color: #000000">.</span><span style="color: #795E26">genKey</span><span style="color: #000000">(</span><span style="color: #098658">32</span><span style="color: #000000">),</span>
|
||||
<span style="color: #000000"> </span><span style="color: #001080">password:</span><span style="color: #000000"> </span><span style="color: #A31515">'password'</span><span style="color: #000000">, </span><span style="color: #008000">// Or a Buffer</span>
|
||||
|
||||
<span style="color: #000000"> </span>
|
||||
<span style="color: #000000"> </span><span style="color: #008000">// If we have a saved verifier</span>
|
||||
<span style="color: #000000"> </span><span style="color: #001080">salt:</span><span style="color: #000000"> </span><span style="color: #001080">Buffer</span><span style="color: #000000">.</span><span style="color: #795E26">from</span><span style="color: #000000">(</span><span style="color: #A31515">'...'</span><span style="color: #000000">),</span>
|
||||
<span style="color: #000000"> </span><span style="color: #001080">verifier:</span><span style="color: #000000"> </span><span style="color: #001080">Buffer</span><span style="color: #000000">.</span><span style="color: #795E26">from</span><span style="color: #000000">(</span><span style="color: #A31515">'...'</span><span style="color: #000000">),</span>
|
||||
@ -117,7 +117,7 @@
|
||||
<span style="color: #000000"> </span><span style="color: #008000">// Generate a secret key</span>
|
||||
<span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">secret</span><span style="color: #000000"> = </span><span style="color: #AF00DB">await</span><span style="color: #000000"> </span><span style="color: #0070C1">SRP</span><span style="color: #000000">.</span><span style="color: #795E26">genKey</span><span style="color: #000000">(</span><span style="color: #098658">32</span><span style="color: #000000">);</span>
|
||||
|
||||
<span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">server</span><span style="color: #000000"> = </span><span style="color: #0000FF">new</span><span style="color: #000000"> </span><span style="color: #267F99">SrpServer</span><span style="color: #000000">(</span><span style="color: #0070C1">SRP</span><span style="color: #000000">.</span><span style="color: #001080">params</span><span style="color: #000000">[</span><span style="color: #098658">3076</span><span style="color: #000000">], </span><span style="color: #001080">user</span><span style="color: #000000">, </span><span style="color: #001080">secret</span><span style="color: #000000">); </span><span style="color: #008000">// For Apple SRP use params.hap</span>
|
||||
<span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">server</span><span style="color: #000000"> = </span><span style="color: #0000FF">new</span><span style="color: #000000"> </span><span style="color: #795E26">SrpServer</span><span style="color: #000000">(</span><span style="color: #0070C1">SRP</span><span style="color: #000000">.</span><span style="color: #001080">params</span><span style="color: #000000">[</span><span style="color: #098658">3076</span><span style="color: #000000">], </span><span style="color: #001080">user</span><span style="color: #000000">, </span><span style="color: #001080">secret</span><span style="color: #000000">); </span><span style="color: #008000">// For Apple SRP use params.hap</span>
|
||||
|
||||
<span style="color: #000000"> </span><span style="color: #008000">// ...</span>
|
||||
<span style="color: #000000">})();</span>
|
||||
|
@ -95,7 +95,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">salt<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L498">srp.ts:498</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L497">srp.ts:497</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@ -105,7 +105,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">username<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L497">srp.ts:497</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L496">srp.ts:496</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
|
@ -97,7 +97,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">N<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigInteger</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/params.ts#L25">params.ts:25</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/params.ts#L25">params.ts:25</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@ -107,7 +107,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">N_<wbr>length_<wbr>bits<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/params.ts#L24">params.ts:24</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/params.ts#L24">params.ts:24</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@ -117,7 +117,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">g<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigInteger</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/params.ts#L26">params.ts:26</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/params.ts#L26">params.ts:26</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@ -127,7 +127,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">hash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/params.ts#L27">params.ts:27</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/params.ts#L27">params.ts:27</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
|
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div class="tsd-page-title">
|
||||
<div class="container">
|
||||
<h1>Project fast-srp-hap</h1>
|
||||
<h1>fast-srp-hap</h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@ -96,7 +96,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">Gen<wbr>Key<wbr>Callback<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L77">srp.ts:77</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L77">srp.ts:77</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-type-declaration">
|
||||
@ -130,7 +130,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">Identity<span class="tsd-signature-symbol">:</span> <a href="modules.html#passwordidentity" class="tsd-signature-type" data-tsd-kind="Type alias">PasswordIdentity</a><span class="tsd-signature-symbol"> | </span><a href="modules.html#verifieridentity" class="tsd-signature-type" data-tsd-kind="Type alias">VerifierIdentity</a></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L504">srp.ts:504</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L503">srp.ts:503</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@ -140,7 +140,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">Password<wbr>Identity<span class="tsd-signature-symbol">:</span> <a href="interfaces/baseidentity.html" class="tsd-signature-type" data-tsd-kind="Interface">BaseIdentity</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>password<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L501">srp.ts:501</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L500">srp.ts:500</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
@ -150,7 +150,7 @@
|
||||
<div class="tsd-signature tsd-kind-icon">Verifier<wbr>Identity<span class="tsd-signature-symbol">:</span> <a href="interfaces/baseidentity.html" class="tsd-signature-type" data-tsd-kind="Interface">BaseIdentity</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>verifier<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> }</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/0ec7c7d/src/srp.ts#L502">srp.ts:502</a></li>
|
||||
<li>Defined in <a href="https://github.com/homebridge/fast-srp/blob/3aaeb5b/src/srp.ts#L501">srp.ts:501</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user