js-md5 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE.txt +1 -1
  3. package/README.md +18 -2
  4. package/build/md5.min.js +3 -3
  5. package/index.d.ts +148 -0
  6. package/package.json +15 -10
  7. package/src/md5.js +272 -79
  8. package/.covignore +0 -2
  9. package/.npmignore +0 -2
  10. package/.travis.yml +0 -11
  11. package/bower.json +0 -8
  12. package/doc/Md5_.html +0 -1194
  13. package/doc/fonts/OpenSans-Bold-webfont.eot +0 -0
  14. package/doc/fonts/OpenSans-Bold-webfont.svg +0 -1830
  15. package/doc/fonts/OpenSans-Bold-webfont.woff +0 -0
  16. package/doc/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  17. package/doc/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  18. package/doc/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  19. package/doc/fonts/OpenSans-Italic-webfont.eot +0 -0
  20. package/doc/fonts/OpenSans-Italic-webfont.svg +0 -1830
  21. package/doc/fonts/OpenSans-Italic-webfont.woff +0 -0
  22. package/doc/fonts/OpenSans-Light-webfont.eot +0 -0
  23. package/doc/fonts/OpenSans-Light-webfont.svg +0 -1831
  24. package/doc/fonts/OpenSans-Light-webfont.woff +0 -0
  25. package/doc/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  26. package/doc/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  27. package/doc/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  28. package/doc/fonts/OpenSans-Regular-webfont.eot +0 -0
  29. package/doc/fonts/OpenSans-Regular-webfont.svg +0 -1831
  30. package/doc/fonts/OpenSans-Regular-webfont.woff +0 -0
  31. package/doc/global.html +0 -309
  32. package/doc/index.html +0 -105
  33. package/doc/md5.html +0 -1469
  34. package/doc/md5.js.html +0 -734
  35. package/doc/scripts/linenumber.js +0 -25
  36. package/doc/scripts/prettify/Apache-License-2.0.txt +0 -202
  37. package/doc/scripts/prettify/lang-css.js +0 -2
  38. package/doc/scripts/prettify/prettify.js +0 -28
  39. package/doc/styles/jsdoc-default.css +0 -358
  40. package/doc/styles/prettify-jsdoc.css +0 -111
  41. package/doc/styles/prettify-tomorrow.css +0 -132
  42. package/tests/index.html +0 -22
  43. package/tests/node-test.js +0 -100
  44. package/tests/requirejs.html +0 -24
  45. package/tests/test.js +0 -270
  46. package/tests/worker-test.js +0 -21
  47. package/tests/worker.html +0 -26
  48. package/tests/worker.js +0 -12
package/doc/md5.html DELETED
@@ -1,1469 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>JSDoc: Namespace: md5</title>
6
-
7
- <script src="scripts/prettify/prettify.js"> </script>
8
- <script src="scripts/prettify/lang-css.js"> </script>
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14
- </head>
15
-
16
- <body>
17
-
18
- <div id="main">
19
-
20
- <h1 class="page-title">Namespace: md5</h1>
21
-
22
-
23
-
24
-
25
-
26
-
27
- <section>
28
-
29
- <header>
30
-
31
- <h2>md5</h2>
32
-
33
-
34
- </header>
35
-
36
- <article>
37
- <div class="container-overview">
38
-
39
-
40
- <div class="description"><a href="https://github.com/emn178/js-md5">js-md5</a></div>
41
-
42
-
43
-
44
-
45
-
46
- <dl class="details">
47
-
48
-
49
- <dt class="tag-version">Version:</dt>
50
- <dd class="tag-version"><ul class="dummy"><li>0.7.2</li></ul></dd>
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
- <dt class="tag-author">Author:</dt>
69
- <dd class="tag-author">
70
- <ul>
71
- <li>Chen, Yi-Cyuan [emn178@gmail.com]</li>
72
- </ul>
73
- </dd>
74
-
75
-
76
-
77
- <dt class="tag-copyright">Copyright:</dt>
78
- <dd class="tag-copyright"><ul class="dummy"><li>Chen, Yi-Cyuan 2014-2017</li></ul></dd>
79
-
80
-
81
-
82
- <dt class="tag-license">License:</dt>
83
- <dd class="tag-license"><ul class="dummy"><li>MIT</li></ul></dd>
84
-
85
-
86
-
87
-
88
-
89
- <dt class="tag-source">Source:</dt>
90
- <dd class="tag-source"><ul class="dummy"><li>
91
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line1">line 1</a>
92
- </li></ul></dd>
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- </dl>
101
-
102
-
103
-
104
-
105
- </div>
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
- <h3 class="subsection-title">Methods</h3>
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
- <h4 class="name" id=".array"><span class="type-signature">(static) </span>array<span class="signature">(message)</span><span class="type-signature"> &rarr; {Array}</span></h4>
131
-
132
-
133
-
134
-
135
-
136
-
137
- <div class="description">
138
- Output hash as bytes array
139
- </div>
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
- <h5>Parameters:</h5>
150
-
151
-
152
- <table class="params">
153
- <thead>
154
- <tr>
155
-
156
- <th>Name</th>
157
-
158
-
159
- <th>Type</th>
160
-
161
-
162
-
163
-
164
-
165
- <th class="last">Description</th>
166
- </tr>
167
- </thead>
168
-
169
- <tbody>
170
-
171
-
172
- <tr>
173
-
174
- <td class="name"><code>message</code></td>
175
-
176
-
177
- <td class="type">
178
-
179
-
180
- <span class="param-type">String</span>
181
- |
182
-
183
- <span class="param-type">Array</span>
184
- |
185
-
186
- <span class="param-type">Uint8Array</span>
187
- |
188
-
189
- <span class="param-type">ArrayBuffer</span>
190
-
191
-
192
-
193
- </td>
194
-
195
-
196
-
197
-
198
-
199
- <td class="description last">message to hash</td>
200
- </tr>
201
-
202
-
203
- </tbody>
204
- </table>
205
-
206
-
207
-
208
-
209
-
210
-
211
- <dl class="details">
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
- <dt class="tag-source">Source:</dt>
239
- <dd class="tag-source"><ul class="dummy"><li>
240
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line74">line 74</a>
241
- </li></ul></dd>
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
- </dl>
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
- <h5>Returns:</h5>
264
-
265
-
266
- <div class="param-desc">
267
- Bytes array
268
- </div>
269
-
270
-
271
-
272
- <dl>
273
- <dt>
274
- Type
275
- </dt>
276
- <dd>
277
-
278
- <span class="param-type">Array</span>
279
-
280
-
281
- </dd>
282
- </dl>
283
-
284
-
285
-
286
-
287
-
288
-
289
- <h5>Example</h5>
290
-
291
- <pre class="prettyprint"><code>md5.array('The quick brown fox jumps over the lazy dog');</code></pre>
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
- <h4 class="name" id=".arrayBuffer"><span class="type-signature">(static) </span>arrayBuffer<span class="signature">(message)</span><span class="type-signature"> &rarr; {ArrayBuffer}</span></h4>
302
-
303
-
304
-
305
-
306
-
307
-
308
- <div class="description">
309
- Output hash as ArrayBuffer
310
- </div>
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
- <h5>Parameters:</h5>
321
-
322
-
323
- <table class="params">
324
- <thead>
325
- <tr>
326
-
327
- <th>Name</th>
328
-
329
-
330
- <th>Type</th>
331
-
332
-
333
-
334
-
335
-
336
- <th class="last">Description</th>
337
- </tr>
338
- </thead>
339
-
340
- <tbody>
341
-
342
-
343
- <tr>
344
-
345
- <td class="name"><code>message</code></td>
346
-
347
-
348
- <td class="type">
349
-
350
-
351
- <span class="param-type">String</span>
352
- |
353
-
354
- <span class="param-type">Array</span>
355
- |
356
-
357
- <span class="param-type">Uint8Array</span>
358
- |
359
-
360
- <span class="param-type">ArrayBuffer</span>
361
-
362
-
363
-
364
- </td>
365
-
366
-
367
-
368
-
369
-
370
- <td class="description last">message to hash</td>
371
- </tr>
372
-
373
-
374
- </tbody>
375
- </table>
376
-
377
-
378
-
379
-
380
-
381
-
382
- <dl class="details">
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
- <dt class="tag-source">Source:</dt>
410
- <dd class="tag-source"><ul class="dummy"><li>
411
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line83">line 83</a>
412
- </li></ul></dd>
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
- </dl>
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
- <h5>Returns:</h5>
435
-
436
-
437
- <div class="param-desc">
438
- ArrayBuffer
439
- </div>
440
-
441
-
442
-
443
- <dl>
444
- <dt>
445
- Type
446
- </dt>
447
- <dd>
448
-
449
- <span class="param-type">ArrayBuffer</span>
450
-
451
-
452
- </dd>
453
- </dl>
454
-
455
-
456
-
457
-
458
-
459
-
460
- <h5>Example</h5>
461
-
462
- <pre class="prettyprint"><code>md5.arrayBuffer('The quick brown fox jumps over the lazy dog');</code></pre>
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
- <h4 class="name" id=".base64"><span class="type-signature">(static) </span>base64<span class="signature">(message)</span><span class="type-signature"> &rarr; {String}</span></h4>
473
-
474
-
475
-
476
-
477
-
478
-
479
- <div class="description">
480
- Output hash as base64 string
481
- </div>
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
- <h5>Parameters:</h5>
492
-
493
-
494
- <table class="params">
495
- <thead>
496
- <tr>
497
-
498
- <th>Name</th>
499
-
500
-
501
- <th>Type</th>
502
-
503
-
504
-
505
-
506
-
507
- <th class="last">Description</th>
508
- </tr>
509
- </thead>
510
-
511
- <tbody>
512
-
513
-
514
- <tr>
515
-
516
- <td class="name"><code>message</code></td>
517
-
518
-
519
- <td class="type">
520
-
521
-
522
- <span class="param-type">String</span>
523
- |
524
-
525
- <span class="param-type">Array</span>
526
- |
527
-
528
- <span class="param-type">Uint8Array</span>
529
- |
530
-
531
- <span class="param-type">ArrayBuffer</span>
532
-
533
-
534
-
535
- </td>
536
-
537
-
538
-
539
-
540
-
541
- <td class="description last">message to hash</td>
542
- </tr>
543
-
544
-
545
- </tbody>
546
- </table>
547
-
548
-
549
-
550
-
551
-
552
-
553
- <dl class="details">
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
- <dt class="tag-source">Source:</dt>
581
- <dd class="tag-source"><ul class="dummy"><li>
582
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line102">line 102</a>
583
- </li></ul></dd>
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
- </dl>
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
- <h5>Returns:</h5>
606
-
607
-
608
- <div class="param-desc">
609
- base64 string
610
- </div>
611
-
612
-
613
-
614
- <dl>
615
- <dt>
616
- Type
617
- </dt>
618
- <dd>
619
-
620
- <span class="param-type">String</span>
621
-
622
-
623
- </dd>
624
- </dl>
625
-
626
-
627
-
628
-
629
-
630
-
631
- <h5>Example</h5>
632
-
633
- <pre class="prettyprint"><code>md5.base64('The quick brown fox jumps over the lazy dog');</code></pre>
634
-
635
-
636
-
637
-
638
-
639
-
640
-
641
-
642
-
643
- <h4 class="name" id=".buffer"><span class="type-signature">(static) </span>buffer<span class="signature">(message)</span><span class="type-signature"> &rarr; {ArrayBuffer}</span></h4>
644
-
645
-
646
-
647
-
648
-
649
-
650
- <div class="description">
651
- Output hash as ArrayBuffer
652
- </div>
653
-
654
-
655
-
656
-
657
-
658
-
659
-
660
-
661
-
662
- <h5>Parameters:</h5>
663
-
664
-
665
- <table class="params">
666
- <thead>
667
- <tr>
668
-
669
- <th>Name</th>
670
-
671
-
672
- <th>Type</th>
673
-
674
-
675
-
676
-
677
-
678
- <th class="last">Description</th>
679
- </tr>
680
- </thead>
681
-
682
- <tbody>
683
-
684
-
685
- <tr>
686
-
687
- <td class="name"><code>message</code></td>
688
-
689
-
690
- <td class="type">
691
-
692
-
693
- <span class="param-type">String</span>
694
- |
695
-
696
- <span class="param-type">Array</span>
697
- |
698
-
699
- <span class="param-type">Uint8Array</span>
700
- |
701
-
702
- <span class="param-type">ArrayBuffer</span>
703
-
704
-
705
-
706
- </td>
707
-
708
-
709
-
710
-
711
-
712
- <td class="description last">message to hash</td>
713
- </tr>
714
-
715
-
716
- </tbody>
717
- </table>
718
-
719
-
720
-
721
-
722
-
723
-
724
- <dl class="details">
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
- <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>This maybe confuse with Buffer in node.js. Please use arrayBuffer instead.</li></ul></dd>
742
-
743
-
744
-
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
-
753
- <dt class="tag-source">Source:</dt>
754
- <dd class="tag-source"><ul class="dummy"><li>
755
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line92">line 92</a>
756
- </li></ul></dd>
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
- </dl>
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
-
778
- <h5>Returns:</h5>
779
-
780
-
781
- <div class="param-desc">
782
- ArrayBuffer
783
- </div>
784
-
785
-
786
-
787
- <dl>
788
- <dt>
789
- Type
790
- </dt>
791
- <dd>
792
-
793
- <span class="param-type">ArrayBuffer</span>
794
-
795
-
796
- </dd>
797
- </dl>
798
-
799
-
800
-
801
-
802
-
803
-
804
- <h5>Example</h5>
805
-
806
- <pre class="prettyprint"><code>md5.buffer('The quick brown fox jumps over the lazy dog');</code></pre>
807
-
808
-
809
-
810
-
811
-
812
-
813
-
814
-
815
-
816
- <h4 class="name" id=".create"><span class="type-signature">(static) </span>create<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Md5_.html">Md5</a>}</span></h4>
817
-
818
-
819
-
820
-
821
-
822
-
823
- <div class="description">
824
- Create Md5 object
825
- </div>
826
-
827
-
828
-
829
-
830
-
831
-
832
-
833
-
834
-
835
-
836
-
837
-
838
-
839
- <dl class="details">
840
-
841
-
842
-
843
-
844
-
845
-
846
-
847
-
848
-
849
-
850
-
851
-
852
-
853
-
854
-
855
-
856
-
857
-
858
-
859
-
860
-
861
-
862
-
863
-
864
-
865
-
866
- <dt class="tag-source">Source:</dt>
867
- <dd class="tag-source"><ul class="dummy"><li>
868
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line117">line 117</a>
869
- </li></ul></dd>
870
-
871
-
872
-
873
-
874
-
875
-
876
-
877
- </dl>
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
-
887
-
888
-
889
-
890
-
891
- <h5>Returns:</h5>
892
-
893
-
894
- <div class="param-desc">
895
- Md5 object.
896
- </div>
897
-
898
-
899
-
900
- <dl>
901
- <dt>
902
- Type
903
- </dt>
904
- <dd>
905
-
906
- <span class="param-type"><a href="Md5_.html">Md5</a></span>
907
-
908
-
909
- </dd>
910
- </dl>
911
-
912
-
913
-
914
-
915
-
916
-
917
- <h5>Example</h5>
918
-
919
- <pre class="prettyprint"><code>var hash = md5.create();</code></pre>
920
-
921
-
922
-
923
-
924
-
925
-
926
-
927
-
928
-
929
- <h4 class="name" id=".digest"><span class="type-signature">(static) </span>digest<span class="signature">(message)</span><span class="type-signature"> &rarr; {Array}</span></h4>
930
-
931
-
932
-
933
-
934
-
935
-
936
- <div class="description">
937
- Output hash as bytes array
938
- </div>
939
-
940
-
941
-
942
-
943
-
944
-
945
-
946
-
947
-
948
- <h5>Parameters:</h5>
949
-
950
-
951
- <table class="params">
952
- <thead>
953
- <tr>
954
-
955
- <th>Name</th>
956
-
957
-
958
- <th>Type</th>
959
-
960
-
961
-
962
-
963
-
964
- <th class="last">Description</th>
965
- </tr>
966
- </thead>
967
-
968
- <tbody>
969
-
970
-
971
- <tr>
972
-
973
- <td class="name"><code>message</code></td>
974
-
975
-
976
- <td class="type">
977
-
978
-
979
- <span class="param-type">String</span>
980
- |
981
-
982
- <span class="param-type">Array</span>
983
- |
984
-
985
- <span class="param-type">Uint8Array</span>
986
- |
987
-
988
- <span class="param-type">ArrayBuffer</span>
989
-
990
-
991
-
992
- </td>
993
-
994
-
995
-
996
-
997
-
998
- <td class="description last">message to hash</td>
999
- </tr>
1000
-
1001
-
1002
- </tbody>
1003
- </table>
1004
-
1005
-
1006
-
1007
-
1008
-
1009
-
1010
- <dl class="details">
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
-
1020
-
1021
-
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
-
1030
-
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
- <dt class="tag-source">Source:</dt>
1038
- <dd class="tag-source"><ul class="dummy"><li>
1039
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line65">line 65</a>
1040
- </li></ul></dd>
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
- </dl>
1049
-
1050
-
1051
-
1052
-
1053
-
1054
-
1055
-
1056
-
1057
-
1058
-
1059
-
1060
-
1061
-
1062
- <h5>Returns:</h5>
1063
-
1064
-
1065
- <div class="param-desc">
1066
- Bytes array
1067
- </div>
1068
-
1069
-
1070
-
1071
- <dl>
1072
- <dt>
1073
- Type
1074
- </dt>
1075
- <dd>
1076
-
1077
- <span class="param-type">Array</span>
1078
-
1079
-
1080
- </dd>
1081
- </dl>
1082
-
1083
-
1084
-
1085
-
1086
-
1087
-
1088
- <h5>Example</h5>
1089
-
1090
- <pre class="prettyprint"><code>md5.digest('The quick brown fox jumps over the lazy dog');</code></pre>
1091
-
1092
-
1093
-
1094
-
1095
-
1096
-
1097
-
1098
-
1099
-
1100
- <h4 class="name" id=".hex"><span class="type-signature">(static) </span>hex<span class="signature">(message)</span><span class="type-signature"> &rarr; {String}</span></h4>
1101
-
1102
-
1103
-
1104
-
1105
-
1106
-
1107
- <div class="description">
1108
- Output hash as hex string
1109
- </div>
1110
-
1111
-
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
- <h5>Parameters:</h5>
1120
-
1121
-
1122
- <table class="params">
1123
- <thead>
1124
- <tr>
1125
-
1126
- <th>Name</th>
1127
-
1128
-
1129
- <th>Type</th>
1130
-
1131
-
1132
-
1133
-
1134
-
1135
- <th class="last">Description</th>
1136
- </tr>
1137
- </thead>
1138
-
1139
- <tbody>
1140
-
1141
-
1142
- <tr>
1143
-
1144
- <td class="name"><code>message</code></td>
1145
-
1146
-
1147
- <td class="type">
1148
-
1149
-
1150
- <span class="param-type">String</span>
1151
- |
1152
-
1153
- <span class="param-type">Array</span>
1154
- |
1155
-
1156
- <span class="param-type">Uint8Array</span>
1157
- |
1158
-
1159
- <span class="param-type">ArrayBuffer</span>
1160
-
1161
-
1162
-
1163
- </td>
1164
-
1165
-
1166
-
1167
-
1168
-
1169
- <td class="description last">message to hash</td>
1170
- </tr>
1171
-
1172
-
1173
- </tbody>
1174
- </table>
1175
-
1176
-
1177
-
1178
-
1179
-
1180
-
1181
- <dl class="details">
1182
-
1183
-
1184
-
1185
-
1186
-
1187
-
1188
-
1189
-
1190
-
1191
-
1192
-
1193
-
1194
-
1195
-
1196
-
1197
-
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
-
1208
- <dt class="tag-source">Source:</dt>
1209
- <dd class="tag-source"><ul class="dummy"><li>
1210
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line54">line 54</a>
1211
- </li></ul></dd>
1212
-
1213
-
1214
-
1215
-
1216
-
1217
-
1218
-
1219
- </dl>
1220
-
1221
-
1222
-
1223
-
1224
-
1225
-
1226
-
1227
-
1228
-
1229
-
1230
-
1231
-
1232
-
1233
- <h5>Returns:</h5>
1234
-
1235
-
1236
- <div class="param-desc">
1237
- Hex string
1238
- </div>
1239
-
1240
-
1241
-
1242
- <dl>
1243
- <dt>
1244
- Type
1245
- </dt>
1246
- <dd>
1247
-
1248
- <span class="param-type">String</span>
1249
-
1250
-
1251
- </dd>
1252
- </dl>
1253
-
1254
-
1255
-
1256
-
1257
-
1258
-
1259
- <h5>Example</h5>
1260
-
1261
- <pre class="prettyprint"><code>md5.hex('The quick brown fox jumps over the lazy dog');
1262
- // equal to
1263
- md5('The quick brown fox jumps over the lazy dog');</code></pre>
1264
-
1265
-
1266
-
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
- <h4 class="name" id=".update"><span class="type-signature">(static) </span>update<span class="signature">(message)</span><span class="type-signature"> &rarr; {<a href="Md5_.html">Md5</a>}</span></h4>
1274
-
1275
-
1276
-
1277
-
1278
-
1279
-
1280
- <div class="description">
1281
- Create and update Md5 object
1282
- </div>
1283
-
1284
-
1285
-
1286
-
1287
-
1288
-
1289
-
1290
-
1291
-
1292
- <h5>Parameters:</h5>
1293
-
1294
-
1295
- <table class="params">
1296
- <thead>
1297
- <tr>
1298
-
1299
- <th>Name</th>
1300
-
1301
-
1302
- <th>Type</th>
1303
-
1304
-
1305
-
1306
-
1307
-
1308
- <th class="last">Description</th>
1309
- </tr>
1310
- </thead>
1311
-
1312
- <tbody>
1313
-
1314
-
1315
- <tr>
1316
-
1317
- <td class="name"><code>message</code></td>
1318
-
1319
-
1320
- <td class="type">
1321
-
1322
-
1323
- <span class="param-type">String</span>
1324
- |
1325
-
1326
- <span class="param-type">Array</span>
1327
- |
1328
-
1329
- <span class="param-type">Uint8Array</span>
1330
- |
1331
-
1332
- <span class="param-type">ArrayBuffer</span>
1333
-
1334
-
1335
-
1336
- </td>
1337
-
1338
-
1339
-
1340
-
1341
-
1342
- <td class="description last">message to hash</td>
1343
- </tr>
1344
-
1345
-
1346
- </tbody>
1347
- </table>
1348
-
1349
-
1350
-
1351
-
1352
-
1353
-
1354
- <dl class="details">
1355
-
1356
-
1357
-
1358
-
1359
-
1360
-
1361
-
1362
-
1363
-
1364
-
1365
-
1366
-
1367
-
1368
-
1369
-
1370
-
1371
-
1372
-
1373
-
1374
-
1375
-
1376
-
1377
-
1378
-
1379
-
1380
-
1381
- <dt class="tag-source">Source:</dt>
1382
- <dd class="tag-source"><ul class="dummy"><li>
1383
- <a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line125">line 125</a>
1384
- </li></ul></dd>
1385
-
1386
-
1387
-
1388
-
1389
-
1390
-
1391
-
1392
- </dl>
1393
-
1394
-
1395
-
1396
-
1397
-
1398
-
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
- <h5>Returns:</h5>
1407
-
1408
-
1409
- <div class="param-desc">
1410
- Md5 object.
1411
- </div>
1412
-
1413
-
1414
-
1415
- <dl>
1416
- <dt>
1417
- Type
1418
- </dt>
1419
- <dd>
1420
-
1421
- <span class="param-type"><a href="Md5_.html">Md5</a></span>
1422
-
1423
-
1424
- </dd>
1425
- </dl>
1426
-
1427
-
1428
-
1429
-
1430
-
1431
-
1432
- <h5>Example</h5>
1433
-
1434
- <pre class="prettyprint"><code>var hash = md5.update('The quick brown fox jumps over the lazy dog');
1435
- // equal to
1436
- var hash = md5.create();
1437
- hash.update('The quick brown fox jumps over the lazy dog');</code></pre>
1438
-
1439
-
1440
-
1441
-
1442
-
1443
-
1444
-
1445
-
1446
-
1447
- </article>
1448
-
1449
- </section>
1450
-
1451
-
1452
-
1453
-
1454
- </div>
1455
-
1456
- <nav>
1457
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Md5_.html">Md5</a></li></ul><h3>Namespaces</h3><ul><li><a href="md5.html">md5</a></li></ul><h3>Global</h3><ul><li><a href="global.html#md5%2508">md5</a></li></ul>
1458
- </nav>
1459
-
1460
- <br class="clear">
1461
-
1462
- <footer>
1463
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Oct 31 2017 20:29:31 GMT+0800 (CST)
1464
- </footer>
1465
-
1466
- <script> prettyPrint(); </script>
1467
- <script src="scripts/linenumber.js"> </script>
1468
- </body>
1469
- </html>