mirror of
https://github.com/emn178/js-sha3.git
synced 2026-08-13 03:51:54 +08:00
- AMD support. - support for web worker. #13 Changed - throw error if input type is incorrect when cSHAKE and KMAC. - freeze hash after finalize.
27 lines
599 B
HTML
27 lines
599 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>SHA3</title>
|
|
<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/sha3.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<script>
|
|
WORKER = 'worker.js';
|
|
SOURCE = '../src/sha3.js';
|
|
mocha.setup('bdd');
|
|
</script>
|
|
<script src="worker-test.js"></script>
|
|
<script>
|
|
mocha.checkLeaks();
|
|
mocha.run();
|
|
</script>
|
|
<script>
|
|
</script>
|
|
</body>
|
|
</html>
|