mirror of
https://github.com/emn178/js-md5.git
synced 2026-11-16 23:08:55 +08:00
### Fixed
- Unpaired UTF-16 surrogates produce wrong digests and consume the next code unit in the JS path. Unpaired surrogates are now encoded as U+FFFD, matching `TextEncoder` and Node.js `crypto`. #57 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ee1c332b60
commit
68b5c32442
+8
-8
@@ -93,7 +93,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line803">line 803</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line815">line 815</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line722">line 722</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line734">line 734</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -351,7 +351,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line734">line 734</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line746">line 746</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -478,7 +478,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line772">line 772</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line784">line 784</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -607,7 +607,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line756">line 756</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line768">line 768</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -734,7 +734,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line700">line 700</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line712">line 712</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -861,7 +861,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line655">line 655</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line667">line 667</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
@@ -988,7 +988,7 @@
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line688">line 688</a>
|
||||
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line700">line 700</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user