fix: makes mimcsponge usable

This commit is contained in:
Kobi Gurkan
2019-06-22 17:35:37 +03:00
parent 17cb959364
commit 9e078dc299
4 changed files with 172 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ exports.multiHash = (arr, key, numOutputs) => {
if (typeof(numOutputs) === "undefined") {
numOutputs = 1;
}
if (typeof(key) === "undefined") {
key = F.zero;
}
let R = F.zero;
let C = F.zero;