* Support to output Integer Array.

* Fixed shake output incorrect when it's greater than 1088.
This commit is contained in:
Yi-Cyuan
2015-09-18 16:29:07 +08:00
parent 99d724b22a
commit ca56f2ac21
9 changed files with 298 additions and 202 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
(function(sha3_512, sha3_384, sha3_256, sha3_224) {
ArrayBuffer.prototype.toHexString = function (argument) {
Array.prototype.toHexString = ArrayBuffer.prototype.toHexString = function() {
var array = new Uint8Array(this);
var hex = '';
for(var i = 0;i < array.length;++i) {