Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix log message for applying fixedpoint after bignum #242

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ performing the preprocessing may be different than the ones carrying out the onl

If preprocessing is not used, and `crypto_provider` option is set to true during instance creation, JIFF will acquire all required
corelated randomness and preprocessing material from the server. This yields an asymetric trust model, where the computation is secure
against a dishonest majority of non-server parties, but insecure against coalitions of one or more party plus the server. Conretely, this
against a dishonest majority of non-server parties, but insecure against coalitions of one or more party plus the server. Concretely, this
reduces to more traditional models in certain cases. For example, if the computation is made out of two parties and a server, this becomes
equivalent to 3-party computation with honest majority.

Expand Down
2 changes: 1 addition & 1 deletion lib/common/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ exports.random = function (max) {
}
};

// actual mode
// actual mod
exports.mod = function (x, y) {
if (x < 0) {
return (x % y) + y;
Expand Down
2 changes: 1 addition & 1 deletion lib/ext/jiff-client-bignumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
throw new Error('Please apply bignumber before negative number extensions');
}
if (jiff.has_extension('fixedpoint')) {
throw new Error('Please apply bignumber before negative number extensions');
throw new Error('Please apply bignumber before fixedpoint extensions');
}

// Turn things into their BigNumber equivalent
Expand Down
2 changes: 1 addition & 1 deletion lib/ext/jiff-client-websockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
onError(msg.data);
break;
default:
console.log('Uknown protocol, ' + msg.socketProtocol + ', received');
console.log('Unknown protocol, ' + msg.socketProtocol + ', received');
}
}

Expand Down