* Added support for web worker. #5

* Changed throw error if input type is incorrect.
This commit is contained in:
Yi-Cyuan Chen
2017-10-07 09:27:54 +08:00
parent 310922df3b
commit 05de50a022
14 changed files with 629 additions and 119 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8">
<title>SHA512</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/2.1.0/mocha.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/2.1.0/mocha.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/expect.js/0.2.0/expect.min.js"></script>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/expect.js/index.js"></script>
<script src="../src/sha512.js"></script>
</head>
<body>