Skip to content

Commit

Permalink
deploy: 82e6aae
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Aug 11, 2023
1 parent 52aa216 commit af01eca
Show file tree
Hide file tree
Showing 75 changed files with 333 additions and 333 deletions.
20 changes: 10 additions & 10 deletions chacha20poly1305/docs/classes/Chacha20Poly1305.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type ">AeadInterface</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/aeads/chacha20Poly1305.ts#L86">src/aeads/chacha20Poly1305.ts:86</a></li></ul></aside>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/aeads/chacha20Poly1305.ts#L86">src/aeads/chacha20Poly1305.ts:86</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -71,39 +71,39 @@ <h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-
<h4 class="tsd-returns-title">Returns <a href="Chacha20Poly1305.html" class="tsd-signature-type tsd-kind-class">Chacha20Poly1305</a></h4><aside class="tsd-sources">
<p>Inherited from Algorithm.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/algorithm.ts#L16">src/algorithm.ts:16</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/algorithm.ts#L16">src/algorithm.ts:16</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_api" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_api</span><a href="#_api" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_api</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">SubtleCrypto</span><span class="tsd-signature-symbol"> = undefined</span></div><aside class="tsd-sources">
<p>Inherited from Algorithm._api</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/algorithm.ts#L4">src/algorithm.ts:4</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/algorithm.ts#L4">src/algorithm.ts:4</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">AeadId</span><span class="tsd-signature-symbol"> = AeadId.Chacha20Poly1305</span></div><aside class="tsd-sources">
<p>Implementation of AeadInterface.id</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/aeads/chacha20Poly1305.ts#L87">src/aeads/chacha20Poly1305.ts:87</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/aeads/chacha20Poly1305.ts#L87">src/aeads/chacha20Poly1305.ts:87</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="keySize" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>key<wbr/>Size</span><a href="#keySize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">key<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 32</span></div><aside class="tsd-sources">
<p>Implementation of AeadInterface.keySize</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/aeads/chacha20Poly1305.ts#L88">src/aeads/chacha20Poly1305.ts:88</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/aeads/chacha20Poly1305.ts#L88">src/aeads/chacha20Poly1305.ts:88</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="nonceSize" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>nonce<wbr/>Size</span><a href="#nonceSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">nonce<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 12</span></div><aside class="tsd-sources">
<p>Implementation of AeadInterface.nonceSize</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/aeads/chacha20Poly1305.ts#L89">src/aeads/chacha20Poly1305.ts:89</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/aeads/chacha20Poly1305.ts#L89">src/aeads/chacha20Poly1305.ts:89</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="tagSize" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>tag<wbr/>Size</span><a href="#tagSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">tag<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 16</span></div><aside class="tsd-sources">
<p>Implementation of AeadInterface.tagSize</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/aeads/chacha20Poly1305.ts#L90">src/aeads/chacha20Poly1305.ts:90</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/aeads/chacha20Poly1305.ts#L90">src/aeads/chacha20Poly1305.ts:90</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="checkInit" class="tsd-anchor"></a>
Expand All @@ -114,7 +114,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</co
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from Algorithm.checkInit</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/algorithm.ts#L8">src/algorithm.ts:8</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/algorithm.ts#L8">src/algorithm.ts:8</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="createEncryptionContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Encryption<wbr/>Context</span><a href="#createEncryptionContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -128,7 +128,7 @@ <h5><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">AeadEncryptionContext</span></h4><aside class="tsd-sources">
<p>Implementation of AeadInterface.createEncryptionContext</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/aeads/chacha20Poly1305.ts#L92">src/aeads/chacha20Poly1305.ts:92</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/aeads/chacha20Poly1305.ts#L92">src/aeads/chacha20Poly1305.ts:92</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="init" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>init</span><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -143,7 +143,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<p>Implementation of AeadInterface.init</p>
<p>Inherited from Algorithm.init</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/algorithm.ts#L20">src/algorithm.ts:20</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/algorithm.ts#L20">src/algorithm.ts:20</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
24 changes: 12 additions & 12 deletions core/docs/classes/CipherSuite.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">CipherSuite</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/core/src/native.ts#L57">src/native.ts:57</a></li></ul></aside>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/core/src/native.ts#L57">src/native.ts:57</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -110,7 +110,7 @@ <h4>Throws</h4><p><a href="InvalidParamError.html" class="tsd-kind-class">Invali
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L169">../src/cipherSuiteNative.ts:169</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L169">../src/cipherSuiteNative.ts:169</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="aead" class="tsd-anchor"></a>
Expand All @@ -124,7 +124,7 @@ <h4 class="tsd-returns-title">Returns <a href="../interfaces/AeadInterface.html"
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.aead</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L253">../src/cipherSuiteNative.ts:253</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L253">../src/cipherSuiteNative.ts:253</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="kdf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>kdf</span><a href="#kdf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -136,7 +136,7 @@ <h4 class="tsd-returns-title">Returns <a href="../interfaces/KdfInterface.html"
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.kdf</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L246">../src/cipherSuiteNative.ts:246</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L246">../src/cipherSuiteNative.ts:246</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="kem" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>kem</span><a href="#kem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -148,7 +148,7 @@ <h4 class="tsd-returns-title">Returns <a href="../interfaces/KemInterface.html"
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.kem</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L239">../src/cipherSuiteNative.ts:239</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L239">../src/cipherSuiteNative.ts:239</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="createRecipientContext" class="tsd-anchor"></a>
Expand All @@ -175,7 +175,7 @@ <h4>Throws</h4><p><a href="DecapError.html" class="tsd-kind-class">DecapError</a
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.createRecipientContext</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L355">../src/cipherSuiteNative.ts:355</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L355">../src/cipherSuiteNative.ts:355</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="createSenderContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Sender<wbr/>Context</span><a href="#createSenderContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -199,7 +199,7 @@ <h4>Throws</h4><p><a href="EncapError.html" class="tsd-kind-class">EncapError</a
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.createSenderContext</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L327">../src/cipherSuiteNative.ts:327</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L327">../src/cipherSuiteNative.ts:327</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="deriveKeyPair" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>derive<wbr/>Key<wbr/>Pair</span><a href="#deriveKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -226,7 +226,7 @@ <h4>Throws</h4><p><a href="DeriveKeyPairError.html" class="tsd-kind-class">Deriv
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.deriveKeyPair</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L284">../src/cipherSuiteNative.ts:284</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L284">../src/cipherSuiteNative.ts:284</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="generateKeyPair" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>generate<wbr/>Key<wbr/>Pair</span><a href="#generateKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -244,7 +244,7 @@ <h4>Throws</h4><p><a href="NotSupportedError.html" class="tsd-kind-class">NotSup
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.generateKeyPair</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L267">../src/cipherSuiteNative.ts:267</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L267">../src/cipherSuiteNative.ts:267</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="importKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>import<wbr/>Key</span><a href="#importKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand Down Expand Up @@ -285,7 +285,7 @@ <h4>Throws</h4><p><a href="DeserializeError.html" class="tsd-kind-class">Deseria
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.importKey</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L309">../src/cipherSuiteNative.ts:309</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L309">../src/cipherSuiteNative.ts:309</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="open" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>open</span><a href="#open" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand Down Expand Up @@ -319,7 +319,7 @@ <h4>Throws</h4><p><a href="DecapError.html" class="tsd-kind-class">DecapError</a
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.open</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L407">../src/cipherSuiteNative.ts:407</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L407">../src/cipherSuiteNative.ts:407</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="seal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>seal</span><a href="#seal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand Down Expand Up @@ -353,7 +353,7 @@ <h4>Throws</h4><p><a href="EncapError.html" class="tsd-kind-class">EncapError</a
</div><aside class="tsd-sources">
<p>Inherited from CipherSuiteNative.seal</p>
<ul>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/fdae12d/src/cipherSuiteNative.ts#L384">../src/cipherSuiteNative.ts:384</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/dajiaji/hpke-js/blob/82e6aae/src/cipherSuiteNative.ts#L384">../src/cipherSuiteNative.ts:384</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit af01eca

Please sign in to comment.