Skip to content

Commit 56d887f

Browse files
committed
tweak js SHA1 to be more like built-in SHA1
1 parent bf1f2a9 commit 56d887f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/crypto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ exports.SHA1=function(msg){
5151
}
5252
M = [];
5353
split(H0);split(H1);split(H2);split(H3);split(H4);
54-
return M;
54+
return E.toUint8Array(M).buffer;
5555
};

0 commit comments

Comments
 (0)