Added support base64 string output.

This commit is contained in:
Chen Yi-Cyuan
2017-07-28 14:12:37 +08:00
parent 2bdc4894fc
commit b808ed4605
13 changed files with 587 additions and 71 deletions
+19 -4
View File
@@ -87,7 +87,9 @@
@@ -101,7 +103,9 @@
<h4 class="name" id="md5%08"><span class="type-signature"></span>md5<span class="signature">(message)</span><span class="type-signature"> &rarr; {String}</span></h4>
@@ -210,7 +214,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#line608">line 608</a>
<a href="md5.js.html">md5.js</a>, <a href="md5.js.html#line646">line 646</a>
</li></ul></dd>
@@ -257,9 +261,20 @@
<h5>Example</h5>
<pre class="prettyprint"><code>md5(''); // d41d8cd98f00b204e9800998ecf8427e
<pre class="prettyprint"><code>md5(''); // d41d8cd98f00b204e9800998ecf8427e
md5('The quick brown fox jumps over the lazy dog'); // 9e107d9d372bb6826bd81d3542a419d6
md5('The quick brown fox jumps over the lazy dog.'); // e4d909c290d0fb1ca068ffaddf22cbd0
// It also supports UTF-8 encoding
md5('中文'); // a7bac2239fcdcb3a067903d8077c4a07
// It also supports byte `Array`, `Uint8Array`, `ArrayBuffer`
md5([]); // d41d8cd98f00b204e9800998ecf8427e
md5(new Uint8Array([])); // d41d8cd98f00b204e9800998ecf8427e</code></pre>
@@ -285,7 +300,7 @@
<br class="clear">
<footer>
</div>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.3</a> on Fri Jul 28 2017 14:11:21 GMT+0800 (CST)
</footer>
<script> prettyPrint(); </script>