This commit is contained in:
jude committed 2023-04-17 13:30:34 +01:00
1 parent 1bd15f36e7
commit 659fcc389a
4 files changed
+45 -41

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { mod_exp } from "./math.js";
export const KEY_SIZE = 2048;
export const KEY_SIZE = 512;
export function cryptoRandom(bits) {
if (bits === undefined) {
+1 -1
View File
@@ -21,7 +21,7 @@ function cryptoShuffle(l) {
return out;
}
const ROUNDS = 48;
const ROUNDS = 24;
function getCoins(text) {
// Construct verifier coins