mirror of
https://github.com/emn178/js-sha3.git
synced 2026-08-12 19:41:36 +08:00
* Support to output Integer Array.
* Fixed shake output incorrect when it's greater than 1088.
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user