Skip to content

Commit 97c8f95

Browse files
Throw in AES-CBC decrypt operation for odd ciphertext lengths (#382)
SHA: 43f2f62 Reason: push, by twiss Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c3a9656 commit 97c8f95

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

index.html

+8-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124

125125
<meta name="color-scheme" content="light">
126-
<meta name="revision" content="c8b273da1e78bb050c0e340d408d77f1dcfec5a2">
126+
<meta name="revision" content="43f2f628838877af40fee7d1f1b35d5efa67ddd7">
127127
<meta name="description" content="This specification describes a JavaScript API for performing basic
128128
cryptographic operations in web applications, such as hashing,
129129
signature generation and verification, and encryption and decryption.
@@ -223,7 +223,7 @@
223223
"id": "x690"
224224
}
225225
},
226-
"gitRevision": "c8b273da1e78bb050c0e340d408d77f1dcfec5a2",
226+
"gitRevision": "43f2f628838877af40fee7d1f1b35d5efa67ddd7",
227227
"publishISODate": "2025-03-07T00:00:00.000Z",
228228
"generatedSubtitle": "W3C Editor's Draft 07 March 2025"
229229
}</script>
@@ -12882,6 +12882,12 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1288212882
<a data-link-type="exception" data-lt="OperationError" href="https://webidl.spec.whatwg.org/#operationerror"><code>OperationError</code></a>.
1288312883
</p>
1288412884
</li>
12885+
<li>
12886+
<p>
12887+
If the length of <var>ciphertext</var> is zero or is not a multiple
12888+
of 16 bytes, then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> an <a data-link-type="exception" data-lt="OperationError" href="https://webidl.spec.whatwg.org/#operationerror"><code>OperationError</code></a>.
12889+
</p>
12890+
</li>
1288512891
<li>
1288612892
<p>
1288712893
Let <var>paddedPlaintext</var> be the result of performing the CBC Decryption

0 commit comments

Comments
 (0)