Commit 91def7c
Merge commit from fork
* fix: fixed to be more properly timing safe
Co-authored-by: Taku Amano <taku@taaas.jp>
* format
* Remove comparing `a` and `b`
I think this is necessary.
* Remove `console.warn`
It is annoying for users. I think only adding the `@deprecated` comment is okay.
* update the test
* test: add a test for well-known md5 hash collision
Co-authored-by: Taku Amano <taku@taaas.jp>
* Revert "Remove comparing `a` and `b`"
This reverts commit 77b86fd6f7b9f8746dde0933b69eda922e96d0de.
* remove the unused file
---------
Co-authored-by: Taku Amano <taku@taaas.jp>1 parent 8b17935 commit 91def7c
2 files changed
+77
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 43 | | |
51 | 44 | | |
52 | 45 | | |
| |||
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
61 | | - | |
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
65 | 78 | | |
66 | 79 | | |
67 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
32 | 79 | | |
33 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
34 | 85 | | |
35 | 86 | | |
36 | 87 | | |
37 | 88 | | |
38 | 89 | | |
39 | 90 | | |
40 | | - | |
| 91 | + | |
41 | 92 | | |
42 | 93 | | |
43 | 94 | | |
44 | | - | |
| 95 | + | |
45 | 96 | | |
46 | 97 | | |
47 | 98 | | |
| |||
0 commit comments